Revision: 25360 http://sourceforge.net/p/bibdesk/svn/25360 Author: hofman Date: 2021-01-10 17:49:31 +0000 (Sun, 10 Jan 2021) Log Message: ----------- Don't save graphics state twice
Modified Paths: -------------- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPlaceholderImage.m Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPlaceholderImage.m =================================================================== --- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPlaceholderImage.m 2021-01-10 17:46:23 UTC (rev 25359) +++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPlaceholderImage.m 2021-01-10 17:49:31 UTC (rev 25360) @@ -71,7 +71,6 @@ NSGraphicsContext *nsContext = [NSGraphicsContext graphicsContextWithGraphicsPort:context flipped:YES]; [NSGraphicsContext saveGraphicsState]; [NSGraphicsContext setCurrentContext:nsContext]; - [nsContext saveGraphicsState]; CGFloat radius = fmin(NSWidth(dstRect) / 4.0, 10.0 * FVDefaultScale); CGFloat lineWidth = fmin((CGFloat)_sizes[i] / 64, 2.0 * FVDefaultScale); @@ -87,7 +86,6 @@ [path stroke]; [path setLineWidth:1.0]; [path setLineDash:NULL count:0 phase:0.0]; - [nsContext restoreGraphicsState]; [NSGraphicsContext restoreGraphicsState]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit