From: ColdSpirit Date: Tue, 21 Dec 2021 08:55:47 +0000 (+0400) Subject: Fix colorpicker dont update apply button X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=34d7d07b4a342a801837f17ac37bf7b9174d5efb;p=xonotic%2Fxonotic-data.pk3dir.git Fix colorpicker dont update apply button --- diff --git a/qcsrc/menu/xonotic/colorpicker.qc b/qcsrc/menu/xonotic/colorpicker.qc index 46e698c2e..f01ab6fcc 100644 --- a/qcsrc/menu/xonotic/colorpicker.qc +++ b/qcsrc/menu/xonotic/colorpicker.qc @@ -19,6 +19,12 @@ void XonoticColorpicker_configureXonoticColorpicker(entity me, entity theTextbox METHOD(XonoticColorpicker, mousePress, bool(XonoticColorpicker this, vector pos)) { this.mouseDrag(this, pos); + + if(this.controlledTextbox.applyButton) + { + this.controlledTextbox.applyButton.disabled = false; + } + return true; }