fix redraw of automation ControlPoints
authorRobin Gareus <robin@gareus.org>
Fri, 20 Mar 2015 22:31:21 +0000 (23:31 +0100)
committerRobin Gareus <robin@gareus.org>
Fri, 20 Mar 2015 22:31:21 +0000 (23:31 +0100)
libs/canvas/rectangle.cc

index 557e8763c7e42e39ee9b0eca2e51a0ec838173e4..07288d5d3331acb228dba0755423b9190ce58cee 100644 (file)
@@ -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;