Revision: 15135
http://sourceforge.net/p/skim-app/code/15135
Author: hofman
Date: 2025-04-14 15:43:46 +0000 (Mon, 14 Apr 2025)
Log Message:
-----------
Allow drawing in presentation mode for resized window when holding shift
Modified Paths:
--------------
trunk/SKPresentationView.m
Modified: trunk/SKPresentationView.m
===================================================================
--- trunk/SKPresentationView.m 2025-04-14 14:43:22 UTC (rev 15134)
+++ trunk/SKPresentationView.m 2025-04-14 15:43:46 UTC (rev 15135)
@@ -467,7 +467,7 @@
[self toggleBlackout:nil];
else
[self goToNextPage:self];
- } else if (IS_TABLET_EVENT(theEvent, NSPointingDeviceTypePen) == NO &&
([[self window] styleMask] & NSWindowStyleMaskResizable) != 0 &&
NSEqualRects([[self window] frame], [[[self window] screen] frame]) == NO) {
+ } else if (IS_TABLET_EVENT(theEvent, NSPointingDeviceTypePen) == NO &&
([[self window] styleMask] & NSWindowStyleMaskResizable) != 0 &&
NSEqualRects([[self window] frame], [[[self window] screen] frame]) == NO &&
(pvFlags.enableDrawing == NO || ([theEvent modifierFlags] &
NSEventModifierFlagShift) == 0)) {
pvFlags.cursorHidden = NO;
[[NSCursor closedHandCursor] set];
[self doDragWindowWithEvent:theEvent];
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