Commit 5cd0ecc9 authored by Ell's avatar Ell

app: fix rotation pivot of GimpCanvasHandle

This fixes the erratic 1-pixel movement of transform-grid handles.
parent de81e333
......@@ -311,6 +311,9 @@ gimp_canvas_handle_draw (GimpCanvasItem *item,
private->x, private->y,
&tx, &ty);
tx = floor (tx) + 0.5;
ty = floor (ty) + 0.5;
switch (private->type)
{
case GIMP_HANDLE_SQUARE:
......
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