From b7884735338b0bcccecea8df95aea16a80933d65 Mon Sep 17 00:00:00 2001 From: ShakeFlower Date: Mon, 23 Feb 2026 22:07:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E7=9B=B8=E5=BA=94?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E7=94=BB=E5=B8=83=E7=9A=84resize?= =?UTF-8?q?=E9=87=8D=E7=BB=98=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/plugins.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/project/plugins.js b/project/plugins.js index 0f57a735..1b4bfaf5 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -3079,8 +3079,8 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = const originResize = core.control.resize; core.control.resize = function () { originResize.apply(core.control, arguments); - const { _back, _itemInv, _equipSlots: _equipChangeBoard, _itemInfo: _itemInfoBoard } = UI; - [_back, _itemInv, _equipChangeBoard, _itemInfoBoard].forEach((menu) => { if (menu && menu.onDraw) menu.drawContent(); }); + const { _back, itemInv, _equipSlots: _equipChangeBoard, _itemInfo: _itemInfoBoard } = UI; + [_back, itemInv, _equipChangeBoard, _itemInfoBoard].forEach((menu) => { if (menu && menu.onDraw) menu.drawContent(); }); } // #endregion @@ -4544,8 +4544,12 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = const originResize = core.control.resize; core.control.resize = function () { originResize.apply(core.control, arguments); + /** @type {SettingBack} */ const settingMenu = core.plugin.settingMenu; - if (settingMenu && settingMenu.onDraw) settingMenu.drawContent(); + if (settingMenu && settingMenu.onDraw) { + settingMenu.drawContent(); + settingMenu.pageList[settingMenu.currPage].drawContent(); + } } // #endregion