Revision: 12144 http://bibdesk.svn.sourceforge.net/bibdesk/?rev=12144&view=rev Author: hofman Date: 2007-12-31 07:26:30 -0800 (Mon, 31 Dec 2007)
Log Message: ----------- Extend iconrect for redisplay, as the shadow can extend outside the rect. Modified Paths: -------------- trunk/bibdesk_vendorsrc/amaxwell/FileView/FileView.m Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FileView.m =================================================================== --- trunk/bibdesk_vendorsrc/amaxwell/FileView/FileView.m 2007-12-31 13:20:18 UTC (rev 12143) +++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FileView.m 2007-12-31 15:26:30 UTC (rev 12144) @@ -1261,7 +1261,7 @@ NSUInteger r, c; // should always succeed if ([self _getGridRow:&r column:&c atPoint:_leftArrowFrame.origin]) - [self setNeedsDisplayInRect:[self _rectOfIconInRow:r column:c]]; + [self setNeedsDisplayInRect:NSInsetRect([self _rectOfIconInRow:r column:c], -8.0, -8.0)]; } - (void)rightArrowAction:(id)sender @@ -1272,7 +1272,7 @@ NSUInteger r, c; // should always succeed if ([self _getGridRow:&r column:&c atPoint:_rightArrowFrame.origin]) - [self setNeedsDisplayInRect:[self _rectOfIconInRow:r column:c]]; + [self setNeedsDisplayInRect:NSInsetRect([self _rectOfIconInRow:r column:c], -8.0, -8.0)]; } - (BOOL)_hasArrows { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit