Revision: 5486
http://skim-app.svn.sourceforge.net/skim-app/?rev=5486&view=rev
Author: hofman
Date: 2009-07-15 14:47:05 +0000 (Wed, 15 Jul 2009)
Log Message:
-----------
small improvements to tablet events in presentation
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2009-07-15 13:16:15 UTC (rev 5485)
+++ trunk/SKPDFView.m 2009-07-15 14:47:05 UTC (rev 5486)
@@ -1072,11 +1072,11 @@
[super mouseDown:theEvent];
return;
} else if (interactionMode == SKPresentationMode) {
- if ([self areaOfInterestForMouse:theEvent] & kPDFLinkArea) {
- [super mouseDown:theEvent];
- } else if ([theEvent subtype] == NSTabletProximity || [theEvent
subtype] == NSTabletPoint) {
+ if (hideNotes == NO && ([theEvent subtype] ==
NSTabletProximityEventSubtype || [theEvent subtype] ==
NSTabletPointEventSubtype)) {
[self doDrawFreehandNoteWithEvent:theEvent];
[self setActiveAnnotation:nil];
+ } else if ([self areaOfInterestForMouse:theEvent] & kPDFLinkArea) {
+ [super mouseDown:theEvent];
} else {
[self goToNextPage:self];
// Eat up drag events because we don't want to select
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit