Revision: 2732
          http://skim-app.svn.sourceforge.net/skim-app/?rev=2732&view=rev
Author:   hofman
Date:     2007-08-27 10:03:37 -0700 (Mon, 27 Aug 2007)

Log Message:
-----------
Set camera cursor for snapshot only when the mouse is pressed, as the command 
key is more often pressed for other purposes (keyboard shortcuts).

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2007-08-27 17:00:09 UTC (rev 2731)
+++ trunk/SKPDFView.m   2007-08-27 17:03:37 UTC (rev 2732)
@@ -3258,6 +3258,8 @@
        
     [[self window] discardCachedImage];
     
+    [[NSCursor cameraCursor] set];
+    
        while (YES) {
                theEvent = [[self window] nextEventMatchingMask: 
NSLeftMouseUpMask | NSLeftMouseDraggedMask | NSFlagsChangedMask];
         
@@ -3521,7 +3523,7 @@
         if ([theEvent modifierFlags] & NSShiftKeyMask)
             cursor = [NSCursor arrowCursor];
         else
-            cursor = [NSCursor cameraCursor];
+            cursor = [NSCursor arrowCursor];
     } else {
         switch (toolMode) {
             case SKTextToolMode:


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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to