mirror of
https://github.com/love2d/love-android.git
synced 2026-08-19 04:05:22 +02:00
Updated LÖVE source to revision cff5bc8604bd
This commit is contained in:
@@ -369,6 +369,7 @@ function love.init()
|
||||
font = true,
|
||||
thread = true,
|
||||
window = true,
|
||||
video = true,
|
||||
},
|
||||
console = false, -- Only relevant for windows.
|
||||
identity = false,
|
||||
@@ -425,6 +426,7 @@ function love.init()
|
||||
"system",
|
||||
"audio",
|
||||
"image",
|
||||
"video",
|
||||
"font",
|
||||
"window",
|
||||
"graphics",
|
||||
@@ -633,9 +635,9 @@ function love.errhand(msg)
|
||||
return
|
||||
elseif e == "keypressed" and a == "escape" then
|
||||
return
|
||||
elseif e == "mousereleased" then
|
||||
elseif e == "touchreleased" then
|
||||
local name = love.window.getTitle()
|
||||
if #name == 0 then name = "Game" end
|
||||
if #name == 0 or name == "Untitled" then name = "Game" end
|
||||
local buttons = {"OK", "Cancel"}
|
||||
local pressed = love.window.showMessageBox("Quit "..name.."?", "", buttons)
|
||||
if pressed == 1 then
|
||||
|
||||
Reference in New Issue
Block a user