Commit a73348c5 authored by Michael Natterer's avatar Michael Natterer 😴

app: fix handle hovering detection, it was using the wrong radius

parent 31aa09a1
......@@ -614,7 +614,7 @@ gimp_cage_tool_is_on_handle (GimpCageConfig *gcc,
x, y,
vert_x, vert_y);
if (dist <= (handle_size * handle_size))
if (dist <= SQR (handle_size / 2))
return i;
}
......
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