From c013201b3839b080572a0b244f33a98eb50f29bb Mon Sep 17 00:00:00 2001 From: puxuan <413323644@qq.com> Date: Mon, 29 Sep 2025 21:17:09 +0800 Subject: [PATCH] . --- lua/app/ui/game_setting/select_other_btn_ui.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lua/app/ui/game_setting/select_other_btn_ui.lua b/lua/app/ui/game_setting/select_other_btn_ui.lua index d0568cf2..e7ae54a7 100644 --- a/lua/app/ui/game_setting/select_other_btn_ui.lua +++ b/lua/app/ui/game_setting/select_other_btn_ui.lua @@ -82,9 +82,11 @@ function SelectOtherBtnUI:onLoadRootComplete() ModuleManager.BagManager:showBagMainUI() end) 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 - if Platform:getIsDevChannel() then + if EDITOR_MODE or Platform:getIsDevChannel() then cellCount = cellCount + 1 y = y - BTN_INTERVAL local gmBtn = self.uiMap["select_other_btn_ui.bg.gm_btn"] @@ -94,6 +96,8 @@ function SelectOtherBtnUI:onLoadRootComplete() ModuleManager.DevToolManager:showOrHideDevListUI() end) 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 self.uiMap["select_other_btn_ui.bg"]:setSizeDeltaY(cellCount*BTN_INTERVAL - BTN_OFFSET*2)