Set Element state in Element::create

fix-osga-rotate-wildly
uramer 10 months ago
parent 61d01f3b62
commit 0f60052bb8

@ -278,6 +278,7 @@ namespace LuaUi
mRoot = createWidget(layout(), true, depth);
mLayer = setLayer(mRoot, layout());
updateRootCoord(mRoot);
mState = Created;
}
}
@ -304,8 +305,8 @@ namespace LuaUi
}
mLayer = setLayer(mRoot, layout());
updateRootCoord(mRoot);
mState = Created;
}
mState = Created;
}
void Element::destroy()

Loading…
Cancel
Save