Revision: 15283
          http://sourceforge.net/p/skim-app/code/15283
Author:   hofman
Date:     2025-05-25 14:23:46 +0000 (Sun, 25 May 2025)
Log Message:
-----------
don't pass screen in initializer as we don't set the rect relative to the screen

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

Modified: trunk/SKPresentationOptionsSheetController.m
===================================================================
--- trunk/SKPresentationOptionsSheetController.m        2025-05-25 14:19:52 UTC 
(rev 15282)
+++ trunk/SKPresentationOptionsSheetController.m        2025-05-25 14:23:46 UTC 
(rev 15283)
@@ -327,7 +327,7 @@
     rect.size.height = round(0.5 * NSHeight(rect)) + PREVIEW_INSET + 28.0;
     
     if (previewWindow == nil) {
-        previewWindow = [[NSPanel alloc] initWithContentRect:rect 
styleMask:NSWindowStyleMaskTitled | NSWindowStyleMaskFullSizeContentView 
backing:NSBackingStoreBuffered defer:NO screen:[[self window] screen]];
+        previewWindow = [[NSPanel alloc] initWithContentRect:rect 
styleMask:NSWindowStyleMaskTitled | NSWindowStyleMaskFullSizeContentView 
backing:NSBackingStoreBuffered defer:NO];
         [previewWindow setReleasedWhenClosed:NO];
         [previewWindow setTitlebarAppearsTransparent:YES];
         [previewWindow setHidesOnDeactivate:NO];

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to