mirror of https://github.com/GNOME/gimp.git
app: fix GimpToolCompass for one perfectly vertical line
the angle arc and the small helper line were displayed on opposite sides of the first point. Now they are on the same side, just like for all other angles.
This commit is contained in:
parent
c71535b72a
commit
5da3bdb4ea
|
@ -519,7 +519,7 @@ gimp_tool_compass_changed (GimpToolWidget *widget)
|
|||
gimp_canvas_line_set (private->angle_line,
|
||||
private->x[0],
|
||||
private->y[0],
|
||||
private->x[0] + (private->x[1] >= private->x[0] ?
|
||||
private->x[0] + (private->x[1] > private->x[0] ?
|
||||
(arc_radius + target) :
|
||||
-(arc_radius + target)),
|
||||
private->y[0]);
|
||||
|
|
Loading…
Reference in New Issue