Revision: 15745
http://sourceforge.net/p/skim-app/code/15745
Author: hofman
Date: 2025-11-01 18:05:04 +0000 (Sat, 01 Nov 2025)
Log Message:
-----------
use another local variable
Modified Paths:
--------------
trunk/SKBasePDFView.m
Modified: trunk/SKBasePDFView.m
===================================================================
--- trunk/SKBasePDFView.m 2025-11-01 18:03:55 UTC (rev 15744)
+++ trunk/SKBasePDFView.m 2025-11-01 18:05:04 UTC (rev 15745)
@@ -503,7 +503,7 @@
if ([clipView isFlipped] == NO && NSMinY([clipView bounds]) <
NSMinY(bounds))
bounds.origin.y = fmax(NSMinY(docRect), NSMinY(bounds) -
offset);
else if ([clipView isFlipped] && NSMinY([clipView bounds]) >
NSMinY(bounds))
- bounds.origin.y = fmin(NSMaxY([[scrollView documentView]
frame]) - NSHeight(bounds), NSMinY(bounds) + offset);
+ bounds.origin.y = fmin(NSMaxY(docRect) - NSHeight(bounds),
NSMinY(bounds) + offset);
else
return;
} else {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit