Fixing hints for portrait mode

This commit is contained in:
Vladislav Khorev committed 2026-06-27 15:14:03 +03:00
1 parent 763ba9eeac
commit 40e7e0ee44
15 files changed
+162 -163

No files matched your search

+1
View File
@@ -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();
}
+2
View File
@@ -606,6 +606,8 @@ namespace ZL {
uiManager.pushMenuFromSavedRoot(phoneMainRoot);
}
uiManager.setButtonCallback("phoneExitButton", [this](const std::string&) {
closePhoneEntirely();
});