mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-27 04:33:43 +08:00
fix upstream conflict
This commit is contained in:
@@ -119,7 +119,7 @@ MapPanel::MapPanel(QWidget* parent) : QWidget(parent) {
|
||||
stack->addWidget(no_prime_widget);
|
||||
}
|
||||
connect(uiState(), &UIState::primeTypeChanged, [=](int prime_type) {
|
||||
stack->setCurrentIndex(!custom_mapbox ? uiState()->prime_type ? 0 : 1 : 1);
|
||||
stack->setCurrentIndex(!custom_mapbox ? uiState()->primeType() ? 0 : 1 : 1);
|
||||
});
|
||||
|
||||
QVBoxLayout *wrapper = new QVBoxLayout(this);
|
||||
|
||||
@@ -1397,7 +1397,6 @@ void AnnotatedCameraWidget::drawLaneLines(QPainter &painter, const UIState *s) {
|
||||
|
||||
// paint path
|
||||
QLinearGradient bg(0, height(), 0, height() / 4);
|
||||
float start_hue, end_hue;
|
||||
if (madsEnabled) {
|
||||
if (steerOverride && latActive) {
|
||||
bg.setColorAt(0.0, QColor::fromHslF(20 / 360., 0.94, 0.51, 0.17));
|
||||
|
||||
Reference in New Issue
Block a user