bug fix
This commit is contained in:
@@ -172,7 +172,6 @@ function CLLMainLua.begain()
|
||||
if not success then
|
||||
printe(msg)
|
||||
end
|
||||
pcall(fitIphoneX)
|
||||
|
||||
-- 处理开始
|
||||
if (CLCfgBase.self.isEditMode) then
|
||||
|
||||
@@ -593,20 +593,6 @@ function dump(obj)
|
||||
return dumpObj(obj, 0)
|
||||
end
|
||||
|
||||
function fitIphoneX()
|
||||
local mode = SystemInfo.deviceModel
|
||||
printw(mode)
|
||||
if
|
||||
string.find(mode, "iPhone10,3") or
|
||||
string.find(mode, "iPhone10,6") or
|
||||
string.find(mode, "iPhone11,3") or
|
||||
string.find(mode, "iPhone11,6") or -- XS Max
|
||||
string.find(mode, "iPhone11,8") or
|
||||
string.find(mode, "iPhone12,1")
|
||||
then -- xr
|
||||
NGUITools.isFringe = true
|
||||
end
|
||||
end
|
||||
--*******************************************************************
|
||||
--*******************************************************************
|
||||
local borrowedSpList = {}
|
||||
|
||||
Reference in New Issue
Block a user