mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 18:12:19 +02:00
Solve #216 Button also can be pressed via multitouch action_id (not still simultaneously but can capture the event)
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user