ui: fix spacing from upstream merge

This commit is contained in:
Jason Wen
2023-09-12 12:31:16 -04:00
parent f76534cf75
commit 53e45a81ef
+1 -1
View File
@@ -184,7 +184,7 @@ void OnroadWindow::mousePressEvent(QMouseEvent* e) {
if (wakeScreenTimeout()) {
// Switch between map and sidebar when using navigate on openpilot
bool sidebarVisible = geometry().x() > 0;
bool show_map = uiState()->scene.navigate_on_openpilot ? sidebarVisible : !sidebarVisible;
bool show_map = uiState()->scene.navigate_on_openpilot ? sidebarVisible : !sidebarVisible;
map->setVisible(show_map && !map->isVisible());
}
}