mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- fixed mouse handling of the reverb sliders.
This commit is contained in:
parent
7e45535669
commit
bb2a6a4f7c
1 changed files with 3 additions and 3 deletions
|
@ -170,14 +170,14 @@ class OptionMenuItemSliderReverbEditOption : OptionMenuSliderBase
|
|||
{
|
||||
drawLabel(indent, y, selected ? OptionMenuSettings.mFontColorSelection : OptionMenuSettings.mFontColor, ReverbEdit.GrayCheck());
|
||||
|
||||
int DrawX = indent + CursorSpace();
|
||||
mDrawX = indent + CursorSpace();
|
||||
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
|
||||
{
|
||||
DrawSlider (DrawX, y, mMin, mMax, GetSliderValue(), mShowValue, indent);
|
||||
DrawSlider (mDrawX, y, mMin, mMax, GetSliderValue(), mShowValue, indent);
|
||||
}
|
||||
return indent;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue