Revision: 7702
http://skim-app.svn.sourceforge.net/skim-app/?rev=7702&view=rev
Author: hofman
Date: 2012-07-14 00:01:17 +0000 (Sat, 14 Jul 2012)
Log Message:
-----------
center sync point on correct page
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2012-06-09 20:31:48 UTC (rev 7701)
+++ trunk/SKPDFView.m 2012-07-14 00:01:17 UTC (rev 7702)
@@ -2224,7 +2224,7 @@
}
}
if ([self displayMode] == kPDFDisplaySinglePageContinuous || [self
displayMode] == kPDFDisplayTwoUpContinuous) {
- NSRect visibleRect = [self convertRect:[[self documentView]
visibleRect] fromDocumentViewToPage:[readingBar page]];
+ NSRect visibleRect = [self convertRect:[[self documentView]
visibleRect] fromDocumentViewToPage:page];
rect = NSInsetRect(rect, 0.0, - floor( ( NSHeight(visibleRect) -
NSHeight(rect) ) / 2.0 ) );
}
[self goToRect:rect onPage:page];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit