Oh right they don't show because of ID2D1HwndRenderTarget::Resize(). I still wonder if areas outside the scroll could be scrolled visible...

This commit is contained in:
Pietro Gagliardi 2015-12-19 14:56:44 -05:00
parent b5d257409c
commit 85dac9fa80
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ static void handlerDraw(uiAreaHandler *a, uiArea *area, uiAreaDrawParams *dp)
memset(&brush, 0, sizeof (uiDrawBrush)); memset(&brush, 0, sizeof (uiDrawBrush));
memset(&sp, 0, sizeof (uiDrawStrokeParams)); memset(&sp, 0, sizeof (uiDrawStrokeParams));
// add some buffering to detect scrolls that aren't on the dot and to see what happens when areas outside the scroll area are drawn // add some buffering to detect scrolls that aren't on the dot on Windows
path = uiDrawNewPath(uiDrawFillModeWinding); path = uiDrawNewPath(uiDrawFillModeWinding);
uiDrawPathAddRectangle(path, uiDrawPathAddRectangle(path,
-50, -50, -50, -50,