Browse Source

don't overdraw standby screen when mqtt updates come in

Thomas Buck 6 months ago
parent
commit
1a415dd95c
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/ui.cpp

+ 3
- 1
src/ui.cpp View File

@@ -382,7 +382,9 @@ void ui_progress(enum ui_state state) {
382 382
         } break;
383 383
 
384 384
         case UI_UPDATE: {
385
-            ui_draw_menu();
385
+            if (curr_brightness >= set_max_brightness) {
386
+                ui_draw_menu();
387
+            }
386 388
         } break;
387 389
     }
388 390
 }

Loading…
Cancel
Save