From 53e45a81efec3ea2d272395e5fcbd507a4273ee9 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Tue, 12 Sep 2023 12:31:16 -0400 Subject: [PATCH] ui: fix spacing from upstream merge --- selfdrive/ui/qt/onroad.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/onroad.cc b/selfdrive/ui/qt/onroad.cc index add7aac4ae..347be07454 100644 --- a/selfdrive/ui/qt/onroad.cc +++ b/selfdrive/ui/qt/onroad.cc @@ -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()); } }