Fixing hints for portrait mode
This commit is contained in:
1 parent
763ba9eeac
commit
40e7e0ee44
15 files changed
+162
-163
No files matched your search
@@ -941,6 +941,7 @@ namespace ZL
|
||||
Environment::computeProjectionDimensions();
|
||||
const bool isPortrait = Environment::width < Environment::height;
|
||||
menuManager.uiManager.updateAllLayouts();
|
||||
menuManager.topUiManager.updateAllLayouts();
|
||||
if (wasPortrait != isPortrait) {
|
||||
menuManager.onOrientationChanged();
|
||||
}
|
||||
|
||||
@@ -606,6 +606,8 @@ namespace ZL {
|
||||
uiManager.pushMenuFromSavedRoot(phoneMainRoot);
|
||||
}
|
||||
|
||||
|
||||
|
||||
uiManager.setButtonCallback("phoneExitButton", [this](const std::string&) {
|
||||
closePhoneEntirely();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user