mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
fix computation of rectangle bounding box
This commit is contained in:
parent
097b781209
commit
9d2e4fbec6
1 changed files with 1 additions and 2 deletions
|
|
@ -114,8 +114,7 @@ void
|
||||||
Rectangle::compute_bounding_box () const
|
Rectangle::compute_bounding_box () const
|
||||||
{
|
{
|
||||||
Rect r = _rect.fix ();
|
Rect r = _rect.fix ();
|
||||||
_bounding_box = boost::optional<Rect> (r.expand (_outline_width / 2));
|
_bounding_box = boost::optional<Rect> (r.expand (_outline_width));
|
||||||
|
|
||||||
_bounding_box_dirty = false;
|
_bounding_box_dirty = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue