From bb2a6a4f7c4b6f4e39265c84761af5d46b8bc4c7 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 3 Dec 2017 13:06:23 +0100 Subject: [PATCH] - fixed mouse handling of the reverb sliders. --- wadsrc/static/zscript/menu/reverbedit.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wadsrc/static/zscript/menu/reverbedit.txt b/wadsrc/static/zscript/menu/reverbedit.txt index 7042d177ee..353db7339c 100644 --- a/wadsrc/static/zscript/menu/reverbedit.txt +++ b/wadsrc/static/zscript/menu/reverbedit.txt @@ -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; }