mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
The default error handler resets the mouse cursor now.
This commit is contained in:
@@ -584,6 +584,9 @@ function love.errhand(msg)
|
||||
love.mouse.setVisible(true)
|
||||
love.mouse.setGrabbed(false)
|
||||
love.mouse.setRelativeMode(false)
|
||||
if love.mouse.hasCursor() then
|
||||
love.mouse.setCursor()
|
||||
end
|
||||
end
|
||||
if love.joystick then
|
||||
-- Stop all joystick vibrations.
|
||||
|
||||
Reference in New Issue
Block a user