mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-26 22:42:06 +08:00
ui: Hide bottom row dev UI when alerts are displayed (#272)
This commit is contained in:
@@ -806,7 +806,7 @@ void AnnotatedCameraWidget::drawHud(QPainter &p) {
|
||||
if (!reversing) {
|
||||
// ####### 1 ROW #######
|
||||
QRect bar_rect1(rect().left(), rect().bottom() - 60, rect().width(), 61);
|
||||
if (devUiEnabled && !splitPanelVisible && devUiInfo == 1) {
|
||||
if (!hideBottomIcons && devUiEnabled && !splitPanelVisible && devUiInfo == 1) {
|
||||
p.setPen(Qt::NoPen);
|
||||
p.setBrush(QColor(0, 0, 0, 100));
|
||||
p.drawRect(bar_rect1);
|
||||
|
||||
Reference in New Issue
Block a user