Revision: 14298
          http://sourceforge.net/p/skim-app/code/14298
Author:   hofman
Date:     2024-06-04 15:47:39 +0000 (Tue, 04 Jun 2024)
Log Message:
-----------
compare sender of backing update notifiation rather than interaction mode

Modified Paths:
--------------
    trunk/SKMainWindowController_UI.m

Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m   2024-06-04 15:37:43 UTC (rev 14297)
+++ trunk/SKMainWindowController_UI.m   2024-06-04 15:47:39 UTC (rev 14298)
@@ -299,7 +299,7 @@
 }
 
 - (void)windowDidChangeBackingProperties:(NSNotification *)notification {
-    if ([self interactionMode] == SKPresentationMode)
+    if ([notification object] != mainWindow)
         return;
     CGFloat oldScale = [[[notification userInfo] 
objectForKey:@"NSBackingPropertyOldScaleFactorKey"] doubleValue];
     if (fabs(oldScale - [[self window] backingScaleFactor]) > 0.0) {

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

Reply via email to