This commit is contained in:
puxuan 2025-09-29 21:17:09 +08:00
parent bc3e832daa
commit c013201b38

View File

@ -82,9 +82,11 @@ function SelectOtherBtnUI:onLoadRootComplete()
ModuleManager.BagManager:showBagMainUI() ModuleManager.BagManager:showBagMainUI()
end) end)
self.uiMap["select_other_btn_ui.bg.bag_btn.text"]:setText(I18N:getGlobalText(I18N.GlobalConst.BAG_DESC_1)) self.uiMap["select_other_btn_ui.bg.bag_btn.text"]:setText(I18N:getGlobalText(I18N.GlobalConst.BAG_DESC_1))
else
self.uiMap["select_other_btn_ui.bg.bag_btn"]:setVisible(false)
end end
if Platform:getIsDevChannel() then if EDITOR_MODE or Platform:getIsDevChannel() then
cellCount = cellCount + 1 cellCount = cellCount + 1
y = y - BTN_INTERVAL y = y - BTN_INTERVAL
local gmBtn = self.uiMap["select_other_btn_ui.bg.gm_btn"] local gmBtn = self.uiMap["select_other_btn_ui.bg.gm_btn"]
@ -94,6 +96,8 @@ function SelectOtherBtnUI:onLoadRootComplete()
ModuleManager.DevToolManager:showOrHideDevListUI() ModuleManager.DevToolManager:showOrHideDevListUI()
end) end)
self.uiMap["select_other_btn_ui.bg.gm_btn.text"]:setText(I18N:getGlobalText(I18N.GlobalConst.SETTING_DESC)) self.uiMap["select_other_btn_ui.bg.gm_btn.text"]:setText(I18N:getGlobalText(I18N.GlobalConst.SETTING_DESC))
else
self.uiMap["select_other_btn_ui.bg.gm_btn"]:setVisible(false)
end end
self.uiMap["select_other_btn_ui.bg"]:setSizeDeltaY(cellCount*BTN_INTERVAL - BTN_OFFSET*2) self.uiMap["select_other_btn_ui.bg"]:setSizeDeltaY(cellCount*BTN_INTERVAL - BTN_OFFSET*2)