Revision: 15349
http://sourceforge.net/p/skim-app/code/15349
Author: hofman
Date: 2025-06-02 16:02:21 +0000 (Mon, 02 Jun 2025)
Log Message:
-----------
no full screen offset for unified toolbar
Modified Paths:
--------------
trunk/SKMainWindowController_FullScreen.m
Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m 2025-06-02 15:40:30 UTC (rev
15348)
+++ trunk/SKMainWindowController_FullScreen.m 2025-06-02 16:02:21 UTC (rev
15349)
@@ -524,6 +524,10 @@
}
static inline CGFloat toolbarViewOffset(NSWindow *window) {
+ if (@available(macOS 11.0, *)) {
+ if ([window toolbarStyle] != NSWindowToolbarStyleExpanded)
+ return 0.0;
+ }
NSToolbar *toolbar = [window toolbar];
NSView *view = nil;
if ([toolbar displayMode] == NSToolbarDisplayModeLabelOnly) {
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