mirror of
https://github.com/Insality/druid
synced 2025-09-28 18:42:20 +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)
|
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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user