Revision: 16374
http://sourceforge.net/p/skim-app/code/16374
Author: hofman
Date: 2026-06-08 16:48:27 +0000 (Mon, 08 Jun 2026)
Log Message:
-----------
no need to update UI when note image changes and not drawing the image
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2026-06-08 16:16:22 UTC (rev 16373)
+++ trunk/SKMainWindowController.m 2026-06-08 16:48:27 UTC (rev 16374)
@@ -2787,7 +2787,7 @@
invisibleKeys = [[NSSet alloc]
initWithObjects:SKNPDFAnnotationModificationDateKey,
SKNPDFAnnotationUserNameKey, SKNPDFAnnotationTextKey, nil];
// Update the UI, we should always do that unless the value did
not really change or we're just changing the mod date or user name
- if ([invisibleKeys containsObject:keyPath] == NO && ([note isText]
|| [keyPath isEqualToString:SKNPDFAnnotationStringKey] == NO)) {
+ if ([invisibleKeys containsObject:keyPath] == NO && ([note isText]
|| [keyPath isEqualToString:SKNPDFAnnotationStringKey] == NO) && ([note isNote]
== NO || [(SKNPDFAnnotationNote *)note drawsImage] || [keyPath
isEqualToString:SKNPDFAnnotationImageKey] == NO)) {
PDFPage *page = [note page];
[self updateThumbnailAtPageIndex:[note pageIndex]];
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