app: fix rotation pivot of GimpCanvasHandle

This fixes the erratic 1-pixel movement of transform-grid handles.
This commit is contained in:
Ell
2018-01-27 04:16:30 -05:00
parent de81e33340
commit 5cd0ecc998

View File

@ -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: