Revision: 15174
http://sourceforge.net/p/skim-app/code/15174
Author: hofman
Date: 2025-05-09 09:19:17 +0000 (Fri, 09 May 2025)
Log Message:
-----------
always just remove blackout on mouse down when in blackout
Modified Paths:
--------------
trunk/SKPresentationView.m
Modified: trunk/SKPresentationView.m
===================================================================
--- trunk/SKPresentationView.m 2025-05-09 09:07:10 UTC (rev 15173)
+++ trunk/SKPresentationView.m 2025-05-09 09:19:17 UTC (rev 15174)
@@ -474,11 +474,10 @@
- (void)mouseDown:(NSEvent *)theEvent {
BOOL didHideMouse = pvFlags.cursorHidden;
- if ([NSApp willDragMouse] == NO) {
- if ([pageView alphaValue] <= 0.0)
- [self toggleBlackout:nil];
- else
- [self goToNextPage:self];
+ if ([pageView alphaValue] <= 0.0) {
+ [self toggleBlackout:nil];
+ } else if ([NSApp willDragMouse] == NO) {
+ [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 &&
(pvFlags.enableDrawing == NO || ([theEvent modifierFlags] &
NSEventModifierFlagShift) == 0)) {
pvFlags.cursorHidden = NO;
[[NSCursor closedHandCursor] set];
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