Revision: 7586 http://skim-app.svn.sourceforge.net/skim-app/?rev=7586&view=rev Author: hofman Date: 2011-12-17 12:24:11 +0000 (Sat, 17 Dec 2011) Log Message: ----------- use functions to calculate rect
Modified Paths: -------------- trunk/SKSnapshotPageCell.m Modified: trunk/SKSnapshotPageCell.m =================================================================== --- trunk/SKSnapshotPageCell.m 2011-12-17 12:22:36 UTC (rev 7585) +++ trunk/SKSnapshotPageCell.m 2011-12-17 12:24:11 UTC (rev 7586) @@ -112,9 +112,7 @@ } [aShadow setShadowOffset:NSMakeSize(0.0, -1.0)]; - imageRect = SKSliceRect(imageRect, 10.0, topEdge); - imageRect.origin.x += 4.0; - imageRect.size.width = 10.0; + imageRect = NSOffsetRect(SKSliceRect(SKSliceRect(imageRect, 10.0, topEdge), 10.0, NSMinXEdge), 4.0, 0.0); if ([controlView isFlipped]) { topY = NSMinY(imageRect) + radius; bottomY = NSMaxY(imageRect); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit