Add centering mode to AnchorLayout.

This commit is contained in:
Henrik Rydgard committed 2013-07-20 12:04:53 +02:00
1 parent 13b8277bd3
commit b059027359
3 files changed
+42 -16

No files matched your search

+5 -1
View File
@@ -16,7 +16,11 @@ void UIScreen::update(InputState &input) {
recreateViews_ = false;
}
UpdateViewHierarchy(input, root_);
if (root_) {
UpdateViewHierarchy(input, root_);
} else {
ELOG("Tried to update without a view root");
}
}
void UIScreen::render() {