Call style_updated when ui element parent changes

This commit is contained in:
Nikita Lisitsa 2022-03-17 15:23:47 +03:00
parent afbf49950f
commit 036c1c543f

View file

@ -15,6 +15,8 @@ namespace psemek::ui
parent_ = parent; parent_ = parent;
if (loop()) if (loop())
post_delayed_callbacks(); post_delayed_callbacks();
style_updated();
} }
element * element::root() element * element::root()