- fixed option menu selector and slider bar positioning.

This commit is contained in:
Christoph Oelckers 2019-03-17 22:00:28 +01:00
parent 13f3bf2331
commit 54f5076b0f
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;