mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 22:55:44 +01:00
canvas: only reset _bounding_box_dirty in the parent if the child's bbox did change
This commit is contained in:
parent
c1fa1e1a29
commit
ddcd004350
1 changed files with 4 additions and 1 deletions
|
|
@ -1152,7 +1152,10 @@ void
|
|||
Item::child_changed (bool bbox_changed)
|
||||
{
|
||||
invalidate_lut ();
|
||||
_bounding_box_dirty = bbox_changed;
|
||||
|
||||
if (bbox_changed) {
|
||||
_bounding_box_dirty = true;
|
||||
}
|
||||
|
||||
if (_parent) {
|
||||
_parent->child_changed (bbox_changed);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue