Skip to content

Commit 283d136

Browse files
author
LucaMarrocchi
committed
Update u8g2Out.h
1 parent d4b541f commit 283d136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/menuIO/u8g2Out.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ namespace Menu {
7171
void clearLine(idx_t ln,idx_t panelNr=0,colorDefs color=bgColor,bool selected=false,status stat=enabledStatus,bool edit=false) override {
7272
const panel p=panels[panelNr];
7373
setColor(color,selected,stat,edit);
74-
gfx.drawBox(p.x*resX + offsetX - 1,(p.y+ln)*resY + offsetY /*- fontMarginY*/,maxX()*resX /*+ fontMarginY*/ /*+ fontMarginY*/,resY /*+ fontMarginY*/ /*+ fontMarginY*/);
74+
gfx.drawBox(p.x*resX + offsetX /*- 1*/,(p.y+ln)*resY + offsetY /*- fontMarginY*/,maxX()*resX /*+ fontMarginY*/ /*+ fontMarginY*/,resY /*+ fontMarginY*/ /*+ fontMarginY*/);
7575
//setCursor(0,ln);
7676
}
7777
void clear() override {

0 commit comments

Comments
 (0)