needed for display full screen properly

This commit is contained in:
Rick Lan
2024-06-14 18:04:06 +08:00
parent d3a79be8dd
commit c54dbceb93
+1 -1
View File
@@ -62,7 +62,7 @@ void OnroadWindow::updateState(const UIState &s) {
return;
}
if (s.scene.map_on_left) {
if (s.scene.map_on_left || dp_ui_map_full) {
split->setDirection(QBoxLayout::LeftToRight);
} else {
split->setDirection(QBoxLayout::RightToLeft);