Skip to content

Commit 8592685

Browse files
committed
Memory Editor - Adjust the height of the window behind the current digit
This is to prevent the window from being drawn on top of the vertical lines if they are displayed.
1 parent 04e3457 commit 8592685

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ttyd-tools/rel/source/draw.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2148,11 +2148,12 @@ void drawMemoryEditorMainWindow()
21482148
int32_t WindowPosX = PosX - 2;
21492149
int32_t WindowPosY = PosY + 2;
21502150
int32_t Width = 13;
2151-
int32_t Height = 19;
2151+
int32_t Height = 18;
21522152
int32_t Curve = 0;
21532153

21542154
#ifdef TTYD_JP
21552155
WindowPosX -= 1;
2156+
WindowPosY -= 1;
21562157
#endif
21572158

21582159
drawWindow(WindowColor, WindowPosX, WindowPosY, Width, Height, Curve);

0 commit comments

Comments
 (0)