Revision: 15336
http://sourceforge.net/p/skim-app/code/15336
Author: hofman
Date: 2025-05-31 09:41:45 +0000 (Sat, 31 May 2025)
Log Message:
-----------
set flag to use custom animation in animation method, as delegate method to get
windows comes too early
Modified Paths:
--------------
trunk/SKMainWindowController_FullScreen.m
Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m 2025-05-31 09:25:24 UTC (rev
15335)
+++ trunk/SKMainWindowController_FullScreen.m 2025-05-31 09:41:45 UTC (rev
15336)
@@ -602,8 +602,6 @@
if ([[NSWorkspace sharedWorkspace]
accessibilityDisplayShouldReduceMotion]) {
savedNormalWindow = [[SKAnimatedBorderlessWindow alloc]
initWithContentRect:[window frame]];
[windows addObject:savedNormalWindow];
- } else {
- [savedNormalSetup setObject:@YES forKey:USECUSTOMANIMATION_KEY];
}
return windows;
}
@@ -632,6 +630,7 @@
[displayWindow orderOut:nil];
}];
} else {
+ [savedNormalSetup setObject:@YES forKey:USECUSTOMANIMATION_KEY];
[(SKMainWindow *)window setDisableConstrainedFrame:YES];
[self window:window willBecomeFullScreen:YES];
[NSAnimationContext runAnimationGroup:^(NSAnimationContext *context) {
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