Skip to content

Commit 43a7721

Browse files
committed
better UI splitting on MMCEManager
1 parent 16d5eb6 commit 43a7721

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,8 +438,8 @@ static void Show_MMCEManager(void)
438438
if (event || post_event) { //NB: We need to update two frame buffers per event
439439
clrScr(setting->color[COLOR_BACKGR]);
440440
drawOpSprite(setting->color[COLOR_FRAME],
441-
SCREEN_WIDTH / 2 - 21, Frame_start_y,
442-
SCREEN_WIDTH / 2 - 19, Frame_end_y);
441+
((SCREEN_WIDTH-LINE_THICKNESS) / 2) , Frame_start_y,
442+
((SCREEN_WIDTH-LINE_THICKNESS) / 2) +LINE_THICKNESS, Frame_end_y);
443443
//PrintPos(03, 10, "Device Info:", COLOR_TEXT);
444444
for (i = 0; i < 2; i++)
445445
{

0 commit comments

Comments
 (0)