Revision: 15983
http://sourceforge.net/p/skim-app/code/15983
Author: hofman
Date: 2026-01-09 15:33:01 +0000 (Fri, 09 Jan 2026)
Log Message:
-----------
selection rect is reset only when we had one
Modified Paths:
--------------
trunk/SKMainDocument.m
trunk/SKMainWindowController_Actions.m
Modified: trunk/SKMainDocument.m
===================================================================
--- trunk/SKMainDocument.m 2026-01-08 17:15:39 UTC (rev 15982)
+++ trunk/SKMainDocument.m 2026-01-09 15:33:01 UTC (rev 15983)
@@ -1830,8 +1830,6 @@
const Rect *qdBounds = (const Rect *)[inQDRectAsData bytes];
NSRect newBounds = SKNSRectFromQDRect(*qdBounds);
[[self pdfView] setSelectToolRect:newBounds];
- if ([[self pdfView] selectToolPage] == nil)
- [[self pdfView] setSelectToolPage:[[self pdfView] currentPage]];
}
}
Modified: trunk/SKMainWindowController_Actions.m
===================================================================
--- trunk/SKMainWindowController_Actions.m 2026-01-08 17:15:39 UTC (rev
15982)
+++ trunk/SKMainWindowController_Actions.m 2026-01-09 15:33:01 UTC (rev
15983)
@@ -651,7 +651,9 @@
}
[self cropPagesToRects:rectArray];
- [pdfView setSelectToolRect:NSZeroRect];
+
+ if (emptySelection == NO)
+ [pdfView setSelectToolRect:NSZeroRect];
}
- (IBAction)autoCropAll:(id)sender {
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