Revision: 15413
http://sourceforge.net/p/skim-app/code/15413
Author: hofman
Date: 2025-06-08 15:18:58 +0000 (Sun, 08 Jun 2025)
Log Message:
-----------
invert condition
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2025-06-08 14:52:55 UTC (rev 15412)
+++ trunk/SKPDFView.m 2025-06-08 15:18:58 UTC (rev 15413)
@@ -2395,7 +2395,7 @@
PDFAnnotation *newAnnotation = nil;
NSArray *newAnnotations = nil;
NSInteger disableUpdateString = [[NSUserDefaults standardUserDefaults]
integerForKey:SKDisableUpdateContentsFromEnclosedTextKey];
- NSString *text = disableUpdateString > 1 ? nil : [selection cleanedString];
+ NSString *text = disableUpdateString < 2 ? [selection cleanedString] : nil;
BOOL isInitial = NSEqualSizes(bounds.size, NSZeroSize) && selection == nil;
// new note added by note tool mode, don't add actual zero sized notes
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