mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- Fixed: The label offset has no business being involved in the positioning of the options menu cursor. Also put the cursor towards the bottom of tall small fonts.
SVN r3785 (trunk)
This commit is contained in:
parent
22cc0544af
commit
2b0cc30f7c
1 changed files with 1 additions and 3 deletions
|
@ -58,8 +58,6 @@
|
||||||
|
|
||||||
void M_DrawConText (int color, int x, int y, const char *str)
|
void M_DrawConText (int color, int x, int y, const char *str)
|
||||||
{
|
{
|
||||||
int len = (int)strlen(str);
|
|
||||||
|
|
||||||
screen->DrawText (ConFont, color, x, y, str,
|
screen->DrawText (ConFont, color, x, y, str,
|
||||||
DTA_CellX, 8 * CleanXfac_1,
|
DTA_CellX, 8 * CleanXfac_1,
|
||||||
DTA_CellY, 8 * CleanYfac_1,
|
DTA_CellY, 8 * CleanYfac_1,
|
||||||
|
@ -440,7 +438,7 @@ void DOptionMenu::Drawer ()
|
||||||
{
|
{
|
||||||
if (((DMenu::MenuTime%8) < 6) || DMenu::CurrentMenu != this)
|
if (((DMenu::MenuTime%8) < 6) || DMenu::CurrentMenu != this)
|
||||||
{
|
{
|
||||||
M_DrawConText(OptionSettings.mFontColorSelection, cur_indent + 3 * CleanXfac_1, y-CleanYfac_1+OptionSettings.mLabelOffset, "\xd");
|
M_DrawConText(OptionSettings.mFontColorSelection, cur_indent + 3 * CleanXfac_1, y+fontheight-9*CleanYfac_1, "\xd");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue