电脑不再默认全屏,增加f11开关全屏功能,整理代码
This commit is contained in:
@@ -217,6 +217,8 @@ function love.keypressed(i)
|
||||
if i=="f8"then
|
||||
devMode=1
|
||||
LOG.print("DEBUG ON",COLOR.yellow)
|
||||
elseif i=="f11"then
|
||||
switchFullscreen()
|
||||
else
|
||||
if SCN.swapping then return end
|
||||
|
||||
|
||||
@@ -103,7 +103,7 @@ do--setFont
|
||||
end
|
||||
do--upperChar
|
||||
local upper=string.upper
|
||||
upperList={
|
||||
local upperList={
|
||||
["1"]="!",["2"]="@",["3"]="#",["4"]="$",["5"]="%",
|
||||
["6"]="^",["7"]="&",["8"]="*",["9"]="(",["0"]=")",
|
||||
["`"]="~",["-"]="_",["="]="+",
|
||||
|
||||
Reference in New Issue
Block a user