Make ui controller root_proxy post on_reshape instead of calling it directly
This commit is contained in:
parent
d653cb1b8b
commit
d577282fce
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ namespace psemek::ui
|
||||||
if (root)
|
if (root)
|
||||||
root->reshape(bbox);
|
root->reshape(bbox);
|
||||||
if (on_reshape)
|
if (on_reshape)
|
||||||
on_reshape();
|
post(on_reshape);
|
||||||
}
|
}
|
||||||
|
|
||||||
geom::box<float, 2> size_constraints() const override
|
geom::box<float, 2> size_constraints() const override
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue