ui: Hide bottom row dev UI when alerts are displayed (#272)

This commit is contained in:
Jason Wen
2023-09-14 15:12:01 -04:00
committed by GitHub
parent 814e644a35
commit ccde494acc
+1 -1
View File
@@ -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);