Revision: 9407
http://sourceforge.net/p/skim-app/code/9407
Author: hofman
Date: 2017-04-24 13:34:14 +0000 (Mon, 24 Apr 2017)
Log Message:
-----------
no need to check for current page with pdf sync as the page must be displayed
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2017-04-24 13:33:32 UTC (rev 9406)
+++ trunk/SKPDFView.m 2017-04-24 13:34:14 UTC (rev 9407)
@@ -2247,7 +2247,7 @@
visibleRect = [self convertRect:[self visibleContentRect] toPage:page];
- if ([[self currentPage] isEqual:page] == NO ||
NSContainsRect(visibleRect, lineRect) == NO) {
+ if (NSContainsRect(visibleRect, lineRect) == NO) {
if ([self displayMode] == kPDFDisplaySinglePageContinuous || [self
displayMode] == kPDFDisplayTwoUpContinuous)
rect = NSInsetRect(lineRect, 0.0, - floor( (
NSHeight(visibleRect) - NSHeight(rect) ) / 2.0 ) );
if (NSWidth(rect) > NSWidth(visibleRect)) {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit