|
From: <ho...@us...> - 2025-07-07 22:10:56
|
Revision: 15618
http://sourceforge.net/p/skim-app/code/15618
Author: hofman
Date: 2025-07-07 22:10:55 +0000 (Mon, 07 Jul 2025)
Log Message:
-----------
remove somme braces
Modified Paths:
--------------
trunk/SKPDFView.m
Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m 2025-07-07 21:38:34 UTC (rev 15617)
+++ trunk/SKPDFView.m 2025-07-07 22:10:55 UTC (rev 15618)
@@ -3901,9 +3901,8 @@
newBounds.size.width += relPoint.x;
if (NSMaxX(newBounds) > NSMaxX(pageBounds))
newBounds.size.width = NSMaxX(pageBounds) - NSMinX(newBounds);
- if (NSWidth(newBounds) < minSize) {
+ if (NSWidth(newBounds) < minSize)
newBounds.size.width = minSize;
- }
} else if ((resizeHandle & SKMinXEdgeMask)) {
newBounds.origin.x += relPoint.x;
newBounds.size.width -= relPoint.x;
@@ -3918,12 +3917,10 @@
}
if ((resizeHandle & SKMaxYEdgeMask)) {
newBounds.size.height += relPoint.y;
- if (NSMaxY(newBounds) > NSMaxY(pageBounds)) {
+ if (NSMaxY(newBounds) > NSMaxY(pageBounds))
newBounds.size.height = NSMaxY(pageBounds) - NSMinY(newBounds);
- }
- if (NSHeight(newBounds) < minSize) {
+ if (NSHeight(newBounds) < minSize)
newBounds.size.height = minSize;
- }
} else if ((resizeHandle & SKMinYEdgeMask)) {
newBounds.origin.y += relPoint.y;
newBounds.size.height -= relPoint.y;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|