mirror of
https://gitea.com/SweetSea-ButImNotSweet/tromi_mobile.git
synced 2025-01-08 17:33:09 +08:00
Fix a bug in VCTRL module that affect to SCENE:onInputRelease
This commit is contained in:
@@ -189,9 +189,9 @@ function VCTRL.release(id)
|
|||||||
if not global_toggle then return end
|
if not global_toggle then return end
|
||||||
if touches[id] then
|
if touches[id] then
|
||||||
touches[id]:release()
|
touches[id]:release()
|
||||||
|
touches[id]=nil
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
touches[id]=nil
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function VCTRL.drag(dx,dy,id)
|
function VCTRL.drag(dx,dy,id)
|
||||||
|
|||||||
Reference in New Issue
Block a user