Skip to content

Commit

Permalink
🚸 Expand box in draw_boxed_string (MarlinFirmware#22209)
Browse files Browse the repository at this point in the history
  • Loading branch information
cytown authored and thinkyhead committed Jun 29, 2021
1 parent b245089 commit e3ae76d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/dogm/marlinui_DOGM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ void MarlinUI::clear_lcd() { } // Automatically cleared by Picture Loop
const pixel_len_t bw = len * prop * (MENU_FONT_WIDTH), bx = x * prop * (MENU_FONT_WIDTH);
if (inv) {
u8g.setColorIndex(1);
u8g.drawBox(bx / prop - 1, by - (MENU_FONT_ASCENT) + 1, bw / prop + 2, MENU_FONT_HEIGHT - 1);
u8g.drawBox(bx / prop - 1, by - (MENU_FONT_ASCENT), bw + 2, MENU_FONT_HEIGHT);
u8g.setColorIndex(0);
}
lcd_put_u8str_P(bx / prop, by, pstr);
Expand Down

0 comments on commit e3ae76d

Please sign in to comment.