diff options
-rw-r--r-- | libs/canvas/line.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/canvas/line.cc b/libs/canvas/line.cc index c409f48c7d..7c5852f4b2 100644 --- a/libs/canvas/line.cc +++ b/libs/canvas/line.cc @@ -46,7 +46,7 @@ Line::compute_bounding_box () const bbox.x1 = max (_points[0].x, _points[1].x); bbox.y1 = max (_points[0].y, _points[1].y); - bbox = bbox.expand (_outline_width / 2); + bbox = bbox.expand (0.5 + (_outline_width / 2)); _bounding_box = bbox; _bounding_box_dirty = false; |