Skip to content

Commit b5bec83

Browse files
cytownptoal
authored andcommitted
🚸 Expand box in draw_boxed_string (MarlinFirmware#22209)
1 parent 6b4c8ab commit b5bec83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/lcd/dogm/marlinui_DOGM.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ void MarlinUI::clear_lcd() { } // Automatically cleared by Picture Loop
468468
const pixel_len_t bw = len * prop * (MENU_FONT_WIDTH), bx = x * prop * (MENU_FONT_WIDTH);
469469
if (inv) {
470470
u8g.setColorIndex(1);
471-
u8g.drawBox(bx / prop - 1, by - (MENU_FONT_ASCENT) + 1, bw / prop + 2, MENU_FONT_HEIGHT - 1);
471+
u8g.drawBox(bx / prop - 1, by - (MENU_FONT_ASCENT), bw + 2, MENU_FONT_HEIGHT);
472472
u8g.setColorIndex(0);
473473
}
474474
lcd_put_u8str_P(bx / prop, by, pstr);

0 commit comments

Comments
 (0)