Revision: 14206
http://sourceforge.net/p/skim-app/code/14206
Author: hofman
Date: 2024-04-10 21:39:03 +0000 (Wed, 10 Apr 2024)
Log Message:
-----------
add window to tab before checking whether it is covered by presentation window
Modified Paths:
--------------
trunk/SKMainWindowController_FullScreen.m
Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m 2024-04-10 21:23:00 UTC (rev
14205)
+++ trunk/SKMainWindowController_FullScreen.m 2024-04-10 21:39:03 UTC (rev
14206)
@@ -529,13 +529,13 @@
[animationWindow setLevel:NSPopUpMenuWindowLevel];
+ if ([[tabGroup windows] count])
+ [tabGroup insertWindow:mainWindow atIndex:MIN(tabIndex, [[tabGroup
windows] count])];
+
BOOL covered = NSContainsRect([animationWindow frame], [mainWindow frame]);
if (covered)
[mainWindow setAlphaValue:1.0];
- if ([[tabGroup windows] count])
- [tabGroup insertWindow:mainWindow atIndex:MIN(tabIndex, [[tabGroup
windows] count])];
-
[NSAnimationContext runAnimationGroup:^(NSAnimationContext *context) {
[context setDuration:PRESENTATION_DURATION];
[context setTimingFunction:[CAMediaTimingFunction
functionWithName:kCAMediaTimingFunctionEaseInEaseOut]];
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