This commit is contained in:
Squishy (C6H12O6+NaCl+H2O)
2024-05-21 22:20:09 +07:00
parent a57c35bec9
commit cdcd71a256
2 changed files with 2 additions and 3 deletions

View File

@@ -151,6 +151,7 @@ function love.touchdragged(id,x,y,dx,dy)
end
end
function love.touchreleased(id,x,y)
PlaySE("demote")
local x,y=GLOBAL_TRANSFORM:inverseTransformPoint(x,y)
if not VCTRL.release(id) then
SCENE:onInputRelease{type = "touch", x = x, y = y, dx = 0, dy = 0, id = id}