Revision: 5112
http://skim-app.svn.sourceforge.net/skim-app/?rev=5112&view=rev
Author: hofman
Date: 2009-01-07 17:29:44 +0000 (Wed, 07 Jan 2009)
Log Message:
-----------
use correct page to crop
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2009-01-07 17:10:59 UTC (rev 5111)
+++ trunk/SKMainWindowController.m 2009-01-07 17:29:44 UTC (rev 5112)
@@ -1736,7 +1736,7 @@
NSRect rect = NSIntegralRect([pdfView currentSelectionRect]);
PDFPage *page = [pdfView currentSelectionPage] ?: [pdfView currentPage];
if (NSIsEmptyRect(rect))
- rect = [[pdfView currentSelectionPage] foregroundBox];
+ rect = [page foregroundBox];
[self cropPageAtIndex:[page pageIndex] toRect:rect];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit