Commit 5da3bdb4 authored by Michael Natterer's avatar Michael Natterer 😴

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.
parent c71535b7
......@@ -519,7 +519,7 @@ gimp_tool_compass_changed (GimpToolWidget *widget)
gimp_canvas_line_set (private->angle_line,
private->x[0] + (private->x[1] >= private->x[0] ?
private->x[0] + (private->x[1] > private->x[0] ?
(arc_radius + target) :
-(arc_radius + target)),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment