Fix bounding box of rectangles with wide outlines.
This commit is contained in:
parent
f7e3d1be2c
commit
ec17b5388f
@ -147,7 +147,7 @@ Rectangle::compute_bounding_box () const
|
||||
{
|
||||
if (!_rect.empty()) {
|
||||
Rect r = _rect.fix ();
|
||||
_bounding_box = r;
|
||||
_bounding_box = r.expand (_outline_width + 0.5);
|
||||
}
|
||||
|
||||
_bounding_box_dirty = false;
|
||||
|
Loading…
Reference in New Issue
Block a user