Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions druid/base/button.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down