【主城】竖条改为初始打开

hotfix/mht_china/xq/cdn_xq_test/0.1.183
gaoxin 2021-12-31 01:53:05 +08:00
parent 577752e71d
commit 89f8af19c4
3 changed files with 6 additions and 4 deletions

View File

@ -217,7 +217,7 @@ end
-- 检测功能引导
function GuideManager.CheckFuncGuide()
PlayerPrefs.SetInt(PlayerManager.uid.."MainRightBarSetting",0)--引导开始关闭右侧伸缩条
PlayerPrefs.SetInt(PlayerManager.uid.."MainRightBarSetting",1)--引导开始关闭右侧伸缩条
if not GuideManager.IsInMainGuide() and not _IsFuncGuild and #_FuncGuideList > 0 then
local guideId = _FuncGuideList[1]
if not funcDic[guideId] then

View File

@ -1302,7 +1302,6 @@ end
-- 时间格式化
function this.TimeFormat()
-- 如果逮到一个云游商人
this.SetRightBarSize()
local isRoamActive = ShopManager.IsActive(SHOP_TYPE.ROAM_SHOP)
this.yunyou:SetActive(isRoamActive)
if isRoamActive then
@ -1482,6 +1481,9 @@ function this.TimeFormat()
end
this.RefreshLayer(showTab,k,v)
end
-- 竖条显示放在按钮显示之后
this.SetRightBarSize()
end
--界面关闭时调用(用于子类重写)
@ -1491,7 +1493,7 @@ function this:OnClose()
PatFaceManager.isLogin = false
FixedUpdateBeat:Remove(this.OnUpdate, self)
addUpDateNum = addUpDateNum - 1
PlayerPrefs.SetInt(PlayerManager.uid.."MainRightBarSetting",0)
PlayerPrefs.SetInt(PlayerManager.uid.."MainRightBarSetting",1)
for k,v in ipairs(activitys) do
if v.RpType > 0 then

View File

@ -95,7 +95,7 @@ function this.SettDailyRedPackageTime(time)
end
function this.ResetLocalData(var)--初始化所有本地的每日一刷--1是五点推送、2是登陆检测
PlayerPrefs.SetInt(PlayerManager.uid.."MainRightBarSetting",0)
PlayerPrefs.SetInt(PlayerManager.uid.."MainRightBarSetting",1)
local func1 = function ()
PlayerPrefs.SetInt(PlayerManager.uid.."GeneralPopup_RecruitConfirm"..RecruitType.Ten,0)
PlayerPrefs.SetInt(PlayerManager.uid.."GeneralPopup_RecruitConfirm"..RecruitType.TimeLimitTen,0)