From 5accec45c3101ff0ff40148efd32a7588f3a444c Mon Sep 17 00:00:00 2001 From: Insality Date: Sat, 3 Dec 2022 16:41:28 +0200 Subject: [PATCH] Solve #216 Button also can be pressed via multitouch action_id (not still simultaneously but can capture the event) --- druid/base/button.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/druid/base/button.lua b/druid/base/button.lua index 61c4db2..3b18328 100755 --- a/druid/base/button.lua +++ b/druid/base/button.lua @@ -61,7 +61,7 @@ local Button = component.create("button") local function is_input_match(self, action_id) - if action_id == const.ACTION_TOUCH then + if action_id == const.ACTION_TOUCH or action_id == const.ACTION_MULTITOUCH then return true end