Revision: 15215
http://sourceforge.net/p/skim-app/code/15215
Author: hofman
Date: 2025-05-15 21:21:56 +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:20:00 UTC (rev 15214)
+++ trunk/SKPresentationView.m 2025-05-15 21:21:56 UTC (rev 15215)
@@ -142,7 +142,7 @@
[super observeValueForKeyPath:keyPath ofObject:object change:change
context:context];
}
-- (void)handleWindoWillChangeBackingProperties:(NSNotification *)notifcation {
+- (void)handleWindoDidChangeBackingProperties:(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 handleWindoWillChangeBackingProperties:nil];
- [[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(handleWindowWillChangeBackingProperties:)
name:NSWindowDidChangeBackingPropertiesNotification object:window];
+ [self handleWindoDidChangeBackingProperties:nil];
+ [[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(handleWindoDidChangeBackingProperties:)
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit