summaryrefslogtreecommitdiff
path: root/libs/canvas/rectangle.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-03-20 23:31:21 +0100
committerRobin Gareus <robin@gareus.org>2015-03-20 23:31:21 +0100
commit0f2ead3d6b2a643f0794ef7831d2926e01cfae2a (patch)
treedb588bc0b5a5246851ef52bfd3a05bd4e5c9e35e /libs/canvas/rectangle.cc
parent322ec39761d61cb69122138dabba8ffb41cb813b (diff)
fix redraw of automation ControlPoints
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;