mirror of https://github.com/GNOME/gimp.git
app: fix handle hovering detection, it was using the wrong radius
This commit is contained in:
parent
31aa09a11f
commit
a73348c561
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue