Skip to content

Commit 33d03a7

Browse files
committed
Change the Input Display to use the drawText function
1 parent 2a3d560 commit 33d03a7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ttyd-tools/rel/source/draw.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3405,7 +3405,6 @@ void drawButtonInputs()
34053405
int32_t PosY = -160;
34063406
float Scale = 0.75;
34073407

3408-
startDrawString(Alpha, Color, Scale);
34093408
uint32_t ButtonInput = ttyd::system::keyGetButton(0);
34103409
char *tempDisplayBuffer = DisplayBuffer;
34113410

@@ -3430,7 +3429,7 @@ void drawButtonInputs()
34303429
ButtonInputDisplay[Counter]);
34313430
#endif
34323431

3433-
ttyd::fontmgr::FontDrawString(PosX, PosY, tempDisplayBuffer);
3432+
drawText(tempDisplayBuffer, PosX, PosY, Alpha, Color, Scale);
34343433
}
34353434

34363435
PosX += 20;

0 commit comments

Comments
 (0)