Oh I know why the green didn't show up; fixed.

This commit is contained in:
Pietro Gagliardi 2015-12-19 17:32:13 -05:00
parent 16f22576ed
commit 92680a549d
1 changed files with 2 additions and 2 deletions

View File

@ -24,11 +24,11 @@ static void handlerDraw(uiAreaHandler *a, uiArea *area, uiAreaDrawParams *dp)
memset(&brush, 0, sizeof (uiDrawBrush));
memset(&sp, 0, sizeof (uiDrawStrokeParams));
// add some buffering to detect scrolls that aren't on the dot on Windows
// add some buffering to detect scrolls that aren't on the dot and draws that are outside the scroll area on Windows
path = uiDrawNewPath(uiDrawFillModeWinding);
uiDrawPathAddRectangle(path,
-50, -50,
areaSize + 50, areaSize + 50);
areaSize + 100, areaSize + 100);
uiDrawPathEnd(path);
brush.Type = uiDrawBrushTypeSolid;
brush.R = 0;