mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
Fix bounding box of rectangles with wide outlines.
This commit is contained in:
parent
f7e3d1be2c
commit
ec17b5388f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue