mirror of https://github.com/GNOME/gimp.git
Bug 701410 - Small artifacts appear when performing a selection
Do not allow negative radius.
This commit is contained in:
parent
6ad70e33e6
commit
7a0f8ad78e
|
@ -253,8 +253,8 @@ gimp_canvas_arc_transform (GimpCanvasItem *item,
|
||||||
|
|
||||||
if (! private->filled)
|
if (! private->filled)
|
||||||
{
|
{
|
||||||
*radius_x -= 0.5;
|
*radius_x = MAX (*radius_x - 0.5, 0.0);
|
||||||
*radius_y -= 0.5;
|
*radius_y = MAX (*radius_y - 0.5, 0.0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue