From 4ed3cc9bd6d5079fa50de3a98173b826e8db0ccd Mon Sep 17 00:00:00 2001 From: SalavatR Date: Thu, 16 Apr 2026 23:14:14 +0600 Subject: [PATCH] Fix disabled button consumes input --- druid/base/button.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/druid/base/button.lua b/druid/base/button.lua index f5c1524f..e2217ef2 100755 --- a/druid/base/button.lua +++ b/druid/base/button.lua @@ -144,6 +144,10 @@ end ---@param action table The action table ---@return boolean is_consumed True if the input was consumed function M:on_input(action_id, action) + if self.disabled then + return + end + if not self:_is_input_match(action_id) then return false end