Revision: 4129
http://skim-app.svn.sourceforge.net/skim-app/?rev=4129&view=rev
Author: hofman
Date: 2008-07-04 05:58:56 -0700 (Fri, 04 Jul 2008)
Log Message:
-----------
Get location for cursor from event
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2008-07-04 11:06:17 UTC (rev 4128)
+++ trunk/SKPDFView.m 2008-07-04 12:58:56 UTC (rev 4129)
@@ -3893,7 +3893,7 @@
cursor = [NSCursor pointingHandCursor];
else
cursor = [NSCursor arrowCursor];
- } else if (NSPointInRect(p, [self visibleContentRect]) == NO ||
([navWindow isVisible] && NSPointInRect([NSEvent mouseLocation], [navWindow
frame]))) {
+ } else if (NSPointInRect(p, [self visibleContentRect]) == NO ||
([navWindow isVisible] && NSPointInRect([[self window]
convertBaseToScreen:[theEvent locationInWindow]], [navWindow frame]))) {
cursor = [NSCursor arrowCursor];
} else if ([theEvent modifierFlags] & NSCommandKeyMask) {
if ([theEvent modifierFlags] & NSShiftKeyMask)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit