wip
This commit is contained in:
7
selfdrive/ui/qt/maps/map_panel.cc
Executable file → Normal file
7
selfdrive/ui/qt/maps/map_panel.cc
Executable file → Normal file
@@ -8,7 +8,7 @@
|
||||
#include "selfdrive/ui/qt/util.h"
|
||||
#include "selfdrive/ui/ui.h"
|
||||
|
||||
MapPanel::MapPanel(const QMapboxGLSettings &mapboxSettings, QWidget *parent) : QFrame(parent) {
|
||||
MapPanel::MapPanel(const QMapLibre::Settings &mapboxSettings, QWidget *parent) : QFrame(parent) {
|
||||
content_stack = new QStackedLayout(this);
|
||||
content_stack->setContentsMargins(0, 0, 0, 0);
|
||||
|
||||
@@ -41,8 +41,3 @@ void MapPanel::toggleMapSettings() {
|
||||
emit mapPanelRequested();
|
||||
show();
|
||||
}
|
||||
|
||||
void MapPanel::setVisible(bool visible) {
|
||||
QFrame::setVisible(visible);
|
||||
uiState()->scene.map_open = visible;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user