mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
fix: nudge menu left side text a pixel to the left to counteract extra pixel column
This commit is contained in:
1 parent
5235581e33
commit
eff475c498
1 file changed
+1
-1
+1
-1
@@ -3011,7 +3011,7 @@ Gfx *dialogRender(Gfx *gdl, struct menudialog *dialog, struct menu *menu, bool l
|
||||
|
||||
textMeasure(&textheight, &textwidth, title, g_CharsHandelGothicXs, g_FontHandelGothicXs, 0);
|
||||
|
||||
x = dialogleft - 1;
|
||||
x = dialogleft - 2;
|
||||
y = (dialogtop + dialogbottom) / 2 - textwidth - 3;
|
||||
|
||||
if (y < dialogtop) {
|
||||
|
||||
Reference in new issue
Block a user