mirror of
https://github.com/Insality/druid
synced 2025-06-27 10:27:48 +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:
parent
a983d5e72a
commit
5accec45c3
@ -61,7 +61,7 @@ local Button = component.create("button")
|
|||||||
|
|
||||||
|
|
||||||
local function is_input_match(self, action_id)
|
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
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user