- Try fix iOS portrait issue

This commit is contained in:
ParticleG
2023-02-21 12:16:02 +08:00
parent d1cef7ed84
commit 00bf828ef4
3 changed files with 5 additions and 7 deletions

View File

@@ -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'

View File

@@ -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

View File

@@ -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',