summaryrefslogtreecommitdiff
path: root/libs/canvas/rectangle.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/canvas/rectangle.cc')
-rw-r--r--libs/canvas/rectangle.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/canvas/rectangle.cc b/libs/canvas/rectangle.cc
index 557e8763c7..07288d5d33 100644
--- a/libs/canvas/rectangle.cc
+++ b/libs/canvas/rectangle.cc
@@ -181,7 +181,7 @@ Rectangle::compute_bounding_box () const
than the rectangle itself.
*/
- _bounding_box = r.expand (_outline_width * 0.5);
+ _bounding_box = r.expand (1.0 + _outline_width * 0.5);
}
_bounding_box_dirty = false;