fix computation of rectangle bounding box
This commit is contained in:
parent
097b781209
commit
9d2e4fbec6
@ -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…
Reference in New Issue
Block a user