From: Paul Davis Date: Thu, 24 Oct 2013 21:13:03 +0000 (-0400) Subject: fix computation of rectangle bounding box X-Git-Tag: 1.0.0~1075 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=9d2e4fbec63b0a0bf49c41b7c46e96d0733214ec;p=ardour.git fix computation of rectangle bounding box --- diff --git a/libs/canvas/rectangle.cc b/libs/canvas/rectangle.cc index a5aa0a2895..e3508429b7 100644 --- a/libs/canvas/rectangle.cc +++ b/libs/canvas/rectangle.cc @@ -114,8 +114,7 @@ void Rectangle::compute_bounding_box () const { Rect r = _rect.fix (); - _bounding_box = boost::optional (r.expand (_outline_width / 2)); - + _bounding_box = boost::optional (r.expand (_outline_width)); _bounding_box_dirty = false; }