Revision: 14239
http://sourceforge.net/p/skim-app/code/14239
Author: hofman
Date: 2024-04-24 14:52:05 +0000 (Wed, 24 Apr 2024)
Log Message:
-----------
screen is too smal (i.e. touch bar) when either width or height is small, not
just both
Modified Paths:
--------------
trunk/SKMainWindowController_FullScreen.m
Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m 2024-04-24 09:32:03 UTC (rev
14238)
+++ trunk/SKMainWindowController_FullScreen.m 2024-04-24 14:52:05 UTC (rev
14239)
@@ -165,7 +165,7 @@
static inline BOOL insufficientScreenSize(NSValue *value) {
NSSize size = [value sizeValue];
- return size.height < 100.0 && size.width < 100.0;
+ return size.height < 100.0 || size.width < 100.0;
}
- (NSArray *)alternateScreensForScreen:(NSScreen *)screen {
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