UI: consider border when setting map width (#28488)

This commit is contained in:
Cameron Clough
2023-06-10 22:09:48 -07:00
committed by GitHub
parent f0eef38dc0
commit 22ebd4fa8f
+1 -1
View File
@@ -95,7 +95,7 @@ void OnroadWindow::offroadTransition(bool offroad) {
QObject::connect(uiState(), &UIState::offroadTransition, m, &MapWindow::offroadTransition);
m->setFixedWidth(topWidget(this)->width() / 2);
m->setFixedWidth(topWidget(this)->width() / 2 - bdr_s);
split->insertWidget(0, m);
// Make map visible after adding to split