Browse Source

Finish DOGM progress bar

Fixes #17940
vanilla_fb_2.0.x
Scott Lahteine 5 years ago
parent
commit
7664e552f1
  1. 6
      Marlin/src/lcd/dogm/status_screen_DOGM.cpp

6
Marlin/src/lcd/dogm/status_screen_DOGM.cpp

@ -597,15 +597,15 @@ void MarlinUI::draw_status_screen() {
// Progress bar frame
//
if (PAGE_CONTAINS(49, 52))
if (PAGE_CONTAINS(PROGRESS_BAR_Y, PROGRESS_BAR_Y + 3))
u8g.drawFrame(PROGRESS_BAR_X, PROGRESS_BAR_Y, PROGRESS_BAR_WIDTH, 4);
//
// Progress bar solid part
//
if (PAGE_CONTAINS(50, 51)) // 50-51 (or just 50)
u8g.drawBox(PROGRESS_BAR_X + 1, 50, progress_bar_solid_width, 2);
if (PAGE_CONTAINS(PROGRESS_BAR_Y + 1, PROGRESS_BAR_Y + 2))
u8g.drawBox(PROGRESS_BAR_X + 1, PROGRESS_BAR_Y + 1, progress_bar_solid_width, 2);
if (PAGE_CONTAINS(EXTRAS_BASELINE - INFO_FONT_ASCENT, EXTRAS_BASELINE - 1)) {

Loading…
Cancel
Save