Revision: 14214
http://sourceforge.net/p/skim-app/code/14214
Author: hofman
Date: 2024-04-17 14:40:10 +0000 (Wed, 17 Apr 2024)
Log Message:
-----------
do allow CGWindow for fading feull screen transition on 14+, I don 't think any
warrning will actually be visible
Modified Paths:
--------------
trunk/SKMainWindowController_FullScreen.m
Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m 2024-04-16 14:35:53 UTC (rev
14213)
+++ trunk/SKMainWindowController_FullScreen.m 2024-04-17 14:40:10 UTC (rev
14214)
@@ -702,7 +702,7 @@
NSArray *windows = openWindows(self);
if ([windows count] == 1)
return nil;
- if (@available(macOS 14.0, *)) {} else if ([[NSWorkspace sharedWorkspace]
accessibilityDisplayShouldReduceMotion]) {
+ if ([[NSWorkspace sharedWorkspace]
accessibilityDisplayShouldReduceMotion]) {
animationWindow = [[SKAnimatedBorderlessWindow alloc]
initWithContentRect:[window frame]];
windows = [windows arrayByAddingObject:animationWindow];
}
@@ -795,7 +795,7 @@
NSArray *windows = openWindows(self);
if ([windows count] == 1)
return nil;
- if (@available(macOS 14.0, *)) {} else if ([[NSWorkspace sharedWorkspace]
accessibilityDisplayShouldReduceMotion]) {
+ if ([[NSWorkspace sharedWorkspace]
accessibilityDisplayShouldReduceMotion]) {
animationWindow = [[SKAnimatedBorderlessWindow alloc]
initWithContentRect:[window frame]];
windows = [windows arrayByAddingObject:animationWindow];
}
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