Revision: 4947
http://skim-app.svn.sourceforge.net/skim-app/?rev=4947&view=rev
Author: hofman
Date: 2008-11-12 00:19:05 +0000 (Wed, 12 Nov 2008)
Log Message:
-----------
Gesture rotation is opposite to PDFPage rotation
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2008-11-11 22:50:15 UTC (rev 4946)
+++ trunk/SKPDFView.m 2008-11-12 00:19:05 UTC (rev 4947)
@@ -1528,7 +1528,7 @@
- (void)rotateWithEvent:(NSEvent *)theEvent {
if ([theEvent respondsToSelector:@selector(rotation)])
- gestureRotation += [theEvent rotation];
+ gestureRotation -= [theEvent rotation];
if (fabsf(gestureRotation) > 45.0 && gesturePageIndex != NSNotFound) {
[self rotatePageAtIndex:gesturePageIndex by:90.0 *
roundf(gestureRotation / 90.0)];
gestureRotation -= 90.0 * roundf(gestureRotation / 90.0);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit