Fixed up the radial gradient test to be a full circle now that it finally works.
This commit is contained in:
parent
5b37dc9fbe
commit
0566c3fa7a
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue