mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
canvas: use Item::bb_clean() to mark _bounding_box_dirty false
This commit is contained in:
parent
5b123441f4
commit
ad6afbe68a
18 changed files with 35 additions and 21 deletions
|
|
@ -170,13 +170,13 @@ Meter::compute_bounding_box () const
|
|||
{
|
||||
if (!_canvas) {
|
||||
_bounding_box = Rect ();
|
||||
_bounding_box_dirty = false;
|
||||
bb_clean ();
|
||||
return;
|
||||
}
|
||||
|
||||
Rect r (0, 0, pixwidth + 2, pixheight + 2);
|
||||
_bounding_box = r;
|
||||
_bounding_box_dirty = false;
|
||||
bb_clean ();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue