Revision: 14824
http://sourceforge.net/p/skim-app/code/14824
Author: hofman
Date: 2024-12-11 15:36:11 +0000 (Wed, 11 Dec 2024)
Log Message:
-----------
No need to explicitly notify update for drawsImage key, as this will also
change the /Subtype
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2024-12-11 15:18:18 UTC (rev 14823)
+++ trunk/SKPDFView.m 2024-12-11 15:36:11 UTC (rev 14824)
@@ -2834,7 +2834,7 @@
BOOL updateHighlight = key == nil || [key
isEqualToString:SKNPDFAnnotationBoundsKey] || [key
isEqualToString:SKNPDFAnnotationDrawsImageKey];
// these properties don't notify automatically because they don't use the
annotationValue
if ([annotation isNote] && key) {
- if ([key isEqualToString:SKNPDFAnnotationImageKey] || [key
isEqualToString:SKNPDFAnnotationDrawsImageKey]) {
+ if ([key isEqualToString:SKNPDFAnnotationImageKey]) {
[super updatedAnnotation:annotation];
} else if ([key isEqualToString:SKNPDFAnnotationBoundsKey]) {
[self annotationsChangedOnPage:[annotation page]];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit