mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
canvas: when an item has its bbox marked dirty, this should propagate to all parents
This commit is contained in:
parent
d54d63da3a
commit
c75ceb31ab
16 changed files with 71 additions and 58 deletions
|
|
@ -161,7 +161,7 @@ Grid::set_margin (double t, double r, double b, double l)
|
|||
void
|
||||
Grid::reset_bg ()
|
||||
{
|
||||
if (_bounding_box_dirty) {
|
||||
if (bbox_dirty()) {
|
||||
(void) bounding_box ();
|
||||
}
|
||||
|
||||
|
|
@ -331,7 +331,7 @@ Grid::reposition_children ()
|
|||
(*i)->set_position (Duple (col_dimens[c->second.x], row_dimens[c->second.y]));
|
||||
}
|
||||
|
||||
_bounding_box_dirty = true;
|
||||
set_bbox_dirty ();
|
||||
reset_bg ();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue