Revision: 14459
http://sourceforge.net/p/skim-app/code/14459
Author: hofman
Date: 2024-09-19 15:51:01 +0000 (Thu, 19 Sep 2024)
Log Message:
-----------
remove begin/end GestureWithEvent handlers
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2024-09-18 22:14:03 UTC (rev 14458)
+++ trunk/SKPDFView.m 2024-09-19 15:51:01 UTC (rev 14459)
@@ -2062,19 +2062,6 @@
}
}
-- (void)beginGestureWithEvent:(NSEvent *)theEvent {
- [super beginGestureWithEvent:theEvent];
- PDFPage *page = [self pageAndPoint:NULL forEvent:theEvent nearest:YES];
- gestureRotation = 0.0;
- gesturePageIndex = [(page ?: [self currentPage]) pageIndex];
-}
-
-- (void)endGestureWithEvent:(NSEvent *)theEvent {
- [super endGestureWithEvent:theEvent];
- gestureRotation = 0.0;
- gesturePageIndex = NSNotFound;
-}
-
- (void)rotateWithEvent:(NSEvent *)theEvent {
NSEventPhase phase = [theEvent phase];
if (phase == NSEventPhaseBegan) {
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