mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +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
|
|
@ -191,7 +191,7 @@ Rectangle::set (Rect const & r)
|
|||
|
||||
_rect = r;
|
||||
|
||||
_bounding_box_dirty = true;
|
||||
set_bbox_dirty ();
|
||||
end_change ();
|
||||
}
|
||||
}
|
||||
|
|
@ -204,7 +204,7 @@ Rectangle::set_x0 (Coord x0)
|
|||
|
||||
_rect.x0 = x0;
|
||||
|
||||
_bounding_box_dirty = true;
|
||||
set_bbox_dirty ();
|
||||
end_change ();
|
||||
}
|
||||
}
|
||||
|
|
@ -217,7 +217,7 @@ Rectangle::set_y0 (Coord y0)
|
|||
|
||||
_rect.y0 = y0;
|
||||
|
||||
_bounding_box_dirty = true;
|
||||
set_bbox_dirty ();
|
||||
end_change();
|
||||
}
|
||||
}
|
||||
|
|
@ -230,7 +230,7 @@ Rectangle::set_x1 (Coord x1)
|
|||
|
||||
_rect.x1 = x1;
|
||||
|
||||
_bounding_box_dirty = true;
|
||||
set_bbox_dirty ();
|
||||
end_change ();
|
||||
}
|
||||
}
|
||||
|
|
@ -243,7 +243,7 @@ Rectangle::set_y1 (Coord y1)
|
|||
|
||||
_rect.y1 = y1;
|
||||
|
||||
_bounding_box_dirty = true;
|
||||
set_bbox_dirty ();
|
||||
end_change ();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue