Revision: 13696
http://sourceforge.net/p/skim-app/code/13696
Author: hofman
Date: 2023-10-25 16:00:13 +0000 (Wed, 25 Oct 2023)
Log Message:
-----------
reverse conditionals
Modified Paths:
--------------
trunk/SKMainWindowController_FullScreen.m
Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m 2023-10-25 15:58:23 UTC (rev
13695)
+++ trunk/SKMainWindowController_FullScreen.m 2023-10-25 16:00:13 UTC (rev
13696)
@@ -670,10 +670,10 @@
[(SKMainWindow *)window setDisableConstrainedFrame:YES];
[NSAnimationContext runAnimationGroup:^(NSAnimationContext *context) {
[context setDuration:duration - 0.02];
- if (RUNNING_BEFORE(12_0))
+ if (RUNNING_AFTER(11_0))
+ [[(SKMainWindow *)window animator] setWindowFrame:frame];
+ else
[[window animator] setFrame:frame display:NO];
- else
- [[(SKMainWindow *)window animator] setWindowFrame:frame];
setAlphaValueOfTitleBarControls(window, 0.0, YES);
}
completionHandler:^{
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