Revision: 3469
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3469&view=rev
Author:   hofman
Date:     2008-03-12 17:37:38 -0700 (Wed, 12 Mar 2008)

Log Message:
-----------
Reset hover rects in private method updating tool tips on Leopard, because the 
documented methods are not called when scrolling.

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2008-03-11 20:20:48 UTC (rev 3468)
+++ trunk/SKPDFView.m   2008-03-13 00:37:38 UTC (rev 3469)
@@ -94,6 +94,12 @@
 
 #pragma mark -
 
[EMAIL PROTECTED] PDFView (SKLeopardPrivate)
+- (void)addTooltipsForVisiblePages;
[EMAIL PROTECTED]
+
+#pragma mark -
+
 @interface SKPDFView (Private)
 
 - (NSRange)visiblePageIndexRange;
@@ -258,12 +264,18 @@
     [super dealloc];
 }
 
-
+// this is not called on Leopard
 - (void)resetCursorRects {
        [super resetCursorRects];
     [self resetHoverRects];
 }
 
+// this is a private method not defined on Tiger
+- (void)addTooltipsForVisiblePages {
+       [super addTooltipsForVisiblePages];
+    [self resetHoverRects];
+}
+
 #pragma mark Hover-rects
 
 // Fix a bug in Tiger's PDFKit, tooltips lead to a crash when you reload a 
PDFDocument in a PDFView


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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to