Revision: 14293
          http://sourceforge.net/p/skim-app/code/14293
Author:   hofman
Date:     2024-06-03 14:25:02 +0000 (Mon, 03 Jun 2024)
Log Message:
-----------
no need to use page subclass for placeholder thumbnail

Modified Paths:
--------------
    trunk/SKMainWindowController.m

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2024-06-03 09:24:05 UTC (rev 14292)
+++ trunk/SKMainWindowController.m      2024-06-03 14:25:02 UTC (rev 14293)
@@ -2855,7 +2855,7 @@
             bounds.origin = NSZeroPoint;
         else
             bounds = NSMakeRect(0.0, 0.0, NSHeight(bounds), NSWidth(bounds));
-        PDFPage *emptyPage = [[SKPDFPage alloc] init];
+        PDFPage *emptyPage = [[PDFPage alloc] init];
         [emptyPage setBounds:bounds forBox:kPDFDisplayBoxMediaBox];
         CGFloat width = ceil(0.8 * fmin(NSWidth(bounds), NSHeight(bounds)));
         NSRect rect = NSInsetRect(bounds, 0.5 * (NSWidth(bounds) - width), 0.5 
* (NSHeight(bounds) - width));

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

Reply via email to