Revision: 15216
          http://sourceforge.net/p/skim-app/code/15216
Author:   hofman
Date:     2025-05-15 21:22:20 +0000 (Thu, 15 May 2025)
Log Message:
-----------
rename method

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

Modified: trunk/SKPresentationView.m
===================================================================
--- trunk/SKPresentationView.m  2025-05-15 21:21:56 UTC (rev 15215)
+++ trunk/SKPresentationView.m  2025-05-15 21:22:20 UTC (rev 15216)
@@ -142,7 +142,7 @@
         [super observeValueForKeyPath:keyPath ofObject:object change:change 
context:context];
 }
 
-- (void)handleWindoDidChangeBackingProperties:(NSNotification *)notifcation {
+- (void)handleWindowDidChangeBackingProperties:(NSNotification *)notifcation {
     CGFloat scale = [[self window] backingScaleFactor];
     if (fabs([pageLayer contentsScale] - scale) > 0.0) {
         [pageLayer setContentsScale:scale];
@@ -163,8 +163,8 @@
     [super viewDidMoveToWindow];
     NSWindow *window = [self window];
     if (window) {
-        [self handleWindoDidChangeBackingProperties:nil];
-        [[NSNotificationCenter defaultCenter] addObserver:self 
selector:@selector(handleWindoDidChangeBackingProperties:) 
name:NSWindowDidChangeBackingPropertiesNotification object:window];
+        [self handleWindowDidChangeBackingProperties:nil];
+        [[NSNotificationCenter defaultCenter] addObserver:self 
selector:@selector(handleWindowDidChangeBackingProperties:) 
name:NSWindowDidChangeBackingPropertiesNotification object:window];
     }
 }
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to