canvas: when an item has its bbox marked dirty, this should propagate to all parents

This commit is contained in:
Paul Davis 2022-04-26 21:57:39 -06:00
parent d54d63da3a
commit c75ceb31ab
16 changed files with 71 additions and 58 deletions

View file

@ -53,7 +53,7 @@ Outline::set_outline_width (Distance width)
if (width != _outline_width) {
_self.begin_change ();
_outline_width = width;
_self._bounding_box_dirty = true;
_self.set_bbox_dirty ();
_self.end_change ();
}
}
@ -64,7 +64,7 @@ Outline::set_outline (bool outline)
if (outline != _outline) {
_self.begin_change ();
_outline = outline;
_self._bounding_box_dirty = true;
_self.set_bbox_dirty ();
_self.end_change ();
}
}