Revision: 12834 http://sourceforge.net/p/skim-app/code/12834 Author: hofman Date: 2022-04-08 14:42:28 +0000 (Fri, 08 Apr 2022) Log Message: ----------- Don't scroll to page when already on the page
Modified Paths: -------------- trunk/SKBasePDFView.m Modified: trunk/SKBasePDFView.m =================================================================== --- trunk/SKBasePDFView.m 2022-04-08 14:25:12 UTC (rev 12833) +++ trunk/SKBasePDFView.m 2022-04-08 14:42:28 UTC (rev 12834) @@ -257,6 +257,8 @@ } - (void)horizontallyGoToPage:(PDFPage *)page { + if (page == [self currentPage]) + return; NSRect bounds = [page boundsForBox:[self displayBox]]; if ([self displaysPageBreaks]) { #pragma clang diagnostic push This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit