mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
- fixed option menu selector and slider bar positioning.
This commit is contained in:
parent
13f3bf2331
commit
54f5076b0f
2 changed files with 2 additions and 2 deletions
|
@ -468,7 +468,7 @@ class OptionMenu : Menu
|
|||
{
|
||||
if (((MenuTime() % 8) < 6) || GetCurrentMenu() != self)
|
||||
{
|
||||
DrawConText(OptionMenuSettings.mFontColorSelection, cur_indent + 3 * CleanXfac_1, y+fontheight-9*CleanYfac_1, "\xd");
|
||||
DrawOptionText(cur_indent + 3 * CleanXfac_1, y, Font.CR_UNTRANSLATED, "◄");
|
||||
}
|
||||
}
|
||||
y += fontheight;
|
||||
|
|
|
@ -728,7 +728,7 @@ class OptionMenuSliderBase : OptionMenuItem
|
|||
double range;
|
||||
int maxlen = 0;
|
||||
int right = x + (12*8 + 4) * CleanXfac; // length of slider. This uses the old ConFont and
|
||||
int cy = y;
|
||||
int cy = y + CleanYFac;
|
||||
|
||||
range = max - min;
|
||||
double ccur = clamp(cur, min, max) - min;
|
||||
|
|
Loading…
Reference in a new issue