Revision: 13288
http://sourceforge.net/p/skim-app/code/13288
Author: hofman
Date: 2023-02-04 17:12:57 +0000 (Sat, 04 Feb 2023)
Log Message:
-----------
prepare transition view through pdfview, so it is only done when needed
Modified Paths:
--------------
trunk/SKMainWindowController_FullScreen.m
trunk/SKPDFView.h
trunk/SKPDFView.m
Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m 2023-02-04 17:09:32 UTC (rev
13287)
+++ trunk/SKMainWindowController_FullScreen.m 2023-02-04 17:12:57 UTC (rev
13288)
@@ -63,7 +63,6 @@
#import "NSScreen_SKExtensions.h"
#import "NSColor_SKExtensions.h"
#import "SKStatusBar.h"
-#import "SKTransitionController.h"
#define MAINWINDOWFRAME_KEY @"windowFrame"
#define LEFTSIDEPANEWIDTH_KEY @"leftSidePaneWidth"
@@ -440,7 +439,7 @@
[self fadeInFullScreenView];
- [[pdfView transitionController] prepareViewIfNeeded];
+ [pdfView prepareTransitionView];
if ([[[self pdfView] currentPage] isEqual:page] == NO)
[[self pdfView] goToCurrentPage:page];
Modified: trunk/SKPDFView.h
===================================================================
--- trunk/SKPDFView.h 2023-02-04 17:09:32 UTC (rev 13287)
+++ trunk/SKPDFView.h 2023-02-04 17:12:57 UTC (rev 13288)
@@ -202,6 +202,8 @@
- (void)togglePacer;
+- (void)prepareTransitionView;
+
- (IBAction)delete:(id)sender;
- (IBAction)paste:(id)sender;
- (IBAction)alternatePaste:(id)sender;
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2023-02-04 17:09:32 UTC (rev 13287)
+++ trunk/SKPDFView.m 2023-02-04 17:12:57 UTC (rev 13288)
@@ -1029,6 +1029,10 @@
return transitionController;
}
+- (void)prepareTransitionView {
+ [transitionController prepareViewIfNeeded];
+}
+
- (void)setHighlightAnnotation:(PDFAnnotation *)annotation {
if (annotation != highlightAnnotation) {
[highlightAnnotation release];
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