- fixed mouse handling of the reverb sliders.

This commit is contained in:
Christoph Oelckers 2017-12-03 13:06:23 +01:00
parent 7e45535669
commit bb2a6a4f7c

View file

@ -170,14 +170,14 @@ class OptionMenuItemSliderReverbEditOption : OptionMenuSliderBase
{ {
drawLabel(indent, y, selected ? OptionMenuSettings.mFontColorSelection : OptionMenuSettings.mFontColor, ReverbEdit.GrayCheck()); drawLabel(indent, y, selected ? OptionMenuSettings.mFontColorSelection : OptionMenuSettings.mFontColor, ReverbEdit.GrayCheck());
int DrawX = indent + CursorSpace(); mDrawX = indent + CursorSpace();
if (mEnter) if (mEnter)
{ {
screen.DrawText(SmallFont, OptionMenuSettings.mFontColorValue, DrawX, y, Represent(), DTA_CleanNoMove_1, true); screen.DrawText(SmallFont, OptionMenuSettings.mFontColorValue, mDrawX, y, Represent(), DTA_CleanNoMove_1, true);
} }
else else
{ {
DrawSlider (DrawX, y, mMin, mMax, GetSliderValue(), mShowValue, indent); DrawSlider (mDrawX, y, mMin, mMax, GetSliderValue(), mShowValue, indent);
} }
return indent; return indent;
} }