Fix grid_layout remembering bounding box

This commit is contained in:
Nikita Lisitsa 2022-03-01 14:18:12 +03:00
parent 98ab4ee39d
commit fd0048c423

View file

@ -208,6 +208,8 @@ namespace psemek::ui
void grid_layout::reshape(geom::box<float, 2> const & bbox)
{
shape_.box = bbox;
auto st = merged_own_style();
if (!st) return;