From: terencehill Date: Mon, 4 Jan 2016 13:02:01 +0000 (+0100) Subject: Re-enable Apply button when dragging a slider too X-Git-Tag: xonotic-v0.8.2~1213^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8928799fa92ee4ebf2fcbffd4ce10a4419ec90b1;p=xonotic%2Fxonotic-data.pk3dir.git Re-enable Apply button when dragging a slider too --- diff --git a/qcsrc/menu/item/slider.qc b/qcsrc/menu/item/slider.qc index 5cbd53b46..4525af16a 100644 --- a/qcsrc/menu/item/slider.qc +++ b/qcsrc/menu/item/slider.qc @@ -206,6 +206,8 @@ v = median(0, (pos.x - me.pressOffset - 0.5 * me.controlWidth) / (1 - me.textSpace - me.controlWidth), 1) * (me.valueMax - me.valueMin) + me.valueMin; if (me.valueStep) v = floor(0.5 + v / me.valueStep) * me.valueStep; me.setValue_noAnim(me, v); + if(me.applyButton) + me.applyButton.disabled = false; } else {