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:
@ -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]);
|
||||
|
Reference in New Issue
Block a user