Fixed up the radial gradient test to be a full circle now that it finally works.

This commit is contained in:
Pietro Gagliardi 2015-10-10 10:49:42 -04:00
parent 5b37dc9fbe
commit 0566c3fa7a
1 changed files with 1 additions and 2 deletions

View File

@ -528,8 +528,7 @@ static void drawD2DRadialBrush(uiAreaDrawParams *p)
75, 75, 75, 75,
75, 75,
0, 0,
// TODO why doesn't 360° work 2 * M_PI);
2 * M_PI - 0.1);
uiDrawPathEnd(path); uiDrawPathEnd(path);
uiDrawFill(p->Context, path, &gradient); uiDrawFill(p->Context, path, &gradient);