Skip to content

Commit

Permalink
fix touch release on systems with touch mouse emulation
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneSchwettmann committed Nov 23, 2021
1 parent 1e1d684 commit 10c900c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Input.lua
Expand Up @@ -195,6 +195,7 @@ end
function love.touchreleased(id, x, y, dx, dy, pressure)
touching = false
touchId = nil
love.mouse.setPosition(centerX,centerY)
end

function love.gamepadpressed(joystick, button)
Expand Down

0 comments on commit 10c900c

Please sign in to comment.