Revision: 13285
http://sourceforge.net/p/skim-app/code/13285
Author: hofman
Date: 2023-02-04 15:49:29 +0000 (Sat, 04 Feb 2023)
Log Message:
-----------
set content insets to zero when going to presentation mode, as the scrollview
doesn't seem to do it by itself
Modified Paths:
--------------
trunk/SKMainWindowController_FullScreen.m
Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m 2023-02-03 18:09:15 UTC (rev
13284)
+++ trunk/SKMainWindowController_FullScreen.m 2023-02-04 15:49:29 UTC (rev
13285)
@@ -219,8 +219,10 @@
[scrollView setHasHorizontalScroller:NO];
[scrollView setHasVerticalScroller:NO];
[scrollView setDrawsBackground:NO];
- if (mwcFlags.fullSizeContent)
+ if (mwcFlags.fullSizeContent) {
[scrollView setAutomaticallyAdjustsContentInsets:YES];
+ [scrollView setContentInsets:NSEdgeInsetsZero];
+ }
[pdfView setCurrentSelection:nil];
if ([pdfView hasReadingBar])
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