Commit 0b4bb517 authored by Michael Natterer's avatar Michael Natterer 😴

app: need to actually set the extents of the pen, not only calculate them

parent f3450431
...@@ -178,6 +178,8 @@ gimp_canvas_pen_get_extents (GimpCanvasItem *item, ...@@ -178,6 +178,8 @@ gimp_canvas_pen_get_extents (GimpCanvasItem *item,
rectangle.y -= ceil (private->width / 2.0); rectangle.y -= ceil (private->width / 2.0);
rectangle.width += private->width + 1; rectangle.width += private->width + 1;
rectangle.height += private->width + 1; rectangle.height += private->width + 1;
gdk_region_union_with_rect (region, &rectangle);
} }
return region; return region;
......
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