Canvas: mark constraint-layout containers as layout-sensitive (like their children)

This commit is contained in:
Paul Davis 2020-06-24 18:12:23 -06:00
parent f7332d2f70
commit 01179d0544

View file

@ -45,6 +45,7 @@ ConstraintPacker::ConstraintPacker (Canvas* canvas)
{
set_fill (false);
set_outline (false);
set_layout_sensitive (true);
}
ConstraintPacker::ConstraintPacker (Item* parent)
@ -55,11 +56,13 @@ ConstraintPacker::ConstraintPacker (Item* parent)
{
set_fill (false);
set_outline (false);
set_layout_sensitive (true);
}
void
ConstraintPacker::compute_bounding_box () const
{
cerr << whoami() << " CBB from " << _allocation << endl;
_bounding_box = _allocation;
_bounding_box_dirty = false;
}