Revision: 9114
http://supercollider.svn.sourceforge.net/supercollider/?rev=9114&view=revAuthor: thelych
Date: 2009-04-24 11:26:53 +0000 (Fri, 24 Apr 2009)
Log Message:
-----------
fix focus ring partially drawn bug
Modified Paths:
--------------
trunk/Source/app/SCGraphView.M
Modified: trunk/Source/app/SCGraphView.M
===================================================================
--- trunk/Source/app/SCGraphView.M 2009-04-24 09:28:02 UTC (rev 9113)
+++ trunk/Source/app/SCGraphView.M 2009-04-24 11:26:53 UTC (rev 9114)
@@ -775,10 +775,11 @@
int i=0;
for(; i < numDirtyRects; ++i) {
curRect = *(dirtyRects+i);
- screct.x = curRect.origin.x;
- screct.y = curRect.origin.y;
- screct.width = curRect.size.width;
- screct.height = curRect.size.height;
+ // focus extends the current view bounds - account it
+ screct.x = curRect.origin.x - 2;
+ screct.y = curRect.origin.y - 2;
+ screct.width = curRect.size.width + 4;
+ screct.height = curRect.size.height + 4;
CGContextSaveGState(cgc);
CGContextClipToRect(cgc, curRect);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
_______________________________________________
sc-dev mailing list
info (subscription, etc.):
http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtmlarchive:
http://www.listarc.bham.ac.uk/marchives/sc-dev/search:
http://www.listarc.bham.ac.uk/lists/sc-dev/search/