- Try fix iOS portrait issue
This commit is contained in:
8
conf.lua
8
conf.lua
@@ -50,11 +50,9 @@ function love.conf(t)
|
|||||||
W.width,W.height=1280,720
|
W.width,W.height=1280,720
|
||||||
W.minwidth,W.minheight=640,360
|
W.minwidth,W.minheight=640,360
|
||||||
-- end
|
-- end
|
||||||
-- W.borderless=MOBILE -- Display window frame
|
W.borderless=MOBILE -- Display window frame
|
||||||
-- W.resizable=not MOBILE -- Whether window is resizable
|
W.resizable=not MOBILE -- Whether window is resizable
|
||||||
-- W.fullscreen=MOBILE -- Fullscreen mode
|
W.fullscreen=MOBILE -- Fullscreen mode
|
||||||
W.borderless=true
|
|
||||||
W.resizable=false
|
|
||||||
W.title="Techmino "..require "version".string -- Window title
|
W.title="Techmino "..require "version".string -- Window title
|
||||||
if fs.getInfo('media/image/icon.png') then
|
if fs.getInfo('media/image/icon.png') then
|
||||||
W.icon='media/image/icon.png'
|
W.icon='media/image/icon.png'
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ do-- function applySettings()
|
|||||||
love.mouse.setVisible(SETTING.sysCursor)
|
love.mouse.setVisible(SETTING.sysCursor)
|
||||||
|
|
||||||
-- Apply fullscreen
|
-- Apply fullscreen
|
||||||
-- love.window.setFullscreen(SETTING.fullscreen)
|
love.window.setFullscreen(SETTING.fullscreen)
|
||||||
love.resize(GC.getWidth(),GC.getHeight())
|
love.resize(GC.getWidth(),GC.getHeight())
|
||||||
|
|
||||||
-- Apply Zframework setting
|
-- Apply Zframework setting
|
||||||
|
|||||||
@@ -652,7 +652,7 @@ do-- Userdata tables
|
|||||||
showSpike=true,
|
showSpike=true,
|
||||||
highCam=true,
|
highCam=true,
|
||||||
nextPos=true,
|
nextPos=true,
|
||||||
fullscreen=true,
|
fullscreen=MOBILE,
|
||||||
portrait=false,
|
portrait=false,
|
||||||
msaa=0,
|
msaa=0,
|
||||||
bg='on',
|
bg='on',
|
||||||
|
|||||||
Reference in New Issue
Block a user