This commit is contained in:
2020-07-16 23:44:17 +08:00
parent 4221cf486c
commit 262987fdaa
24 changed files with 743 additions and 744 deletions

View File

@@ -69,12 +69,11 @@ CLLMainLua.init = function()
end
function CLLMainLua.setAndroidStatusBar()
printe(SystemInfo.deviceName, "====", SystemInfo.deviceModel)
if CLPathCfg.self.platform ~= "Android" then
return
end
local mode = SystemInfo.deviceModel
if string.find(mode, "huawei") then
local mode = string.upper( SystemInfo.deviceModel)
if string.find(mode, "HUAWEI") then
AndroidStatusBar.setFlags(AndroidStatusBar.WINDOW_FLAG_FORCE_NOT_FULLSCREEN)
AndroidStatusBar.setColor(AndroidStatusBar.DEFAULT_BACKGROUND_COLOR)
else

View File

@@ -13,7 +13,7 @@ function CSPTasks.init(csObj)
csSelf = csObj
transform = csObj.transform
CSPTasks.setEventDelegate()
CSPTasks.contentRect = MyUtl.getUIContent(csSelf, 772)
CSPTasks.contentRect = MyUtl.getUIContent(csSelf, 360+220+60)
uiobjs.Content = getCC(transform, "PanelContent", "UIPanel")
uiobjs.Content.transform.localPosition = Vector3.zero