From 9539ee93e037116934e47e56df6ea3e09cb600b3 Mon Sep 17 00:00:00 2001 From: Joywayer Date: Sat, 29 Aug 2026 22:18:23 +0800 Subject: [PATCH] =?UTF-8?q?fix(framework):=20=E8=AE=BE=E8=AE=A1=E5=88=86?= =?UTF-8?q?=E8=BE=A8=E7=8E=87=E9=80=82=E9=85=8D=E7=AD=96=E7=95=A5=20fitWid?= =?UTF-8?q?th=20=E2=86=92=20fitHeight?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit spec(legacy-ui-migration-design §2) 要求 1280×720 + fitHeight: 垂直精确撑满、水平在宽屏下自动扩可见区(20:9 约 1600×720)。 此前工程未显式设置、沿用 Cocos 默认 fitWidth,与 spec 相反。 注意:编辑器 reload 不重读 settings,需完全重启 Cocos Creator 后生效。 Co-Authored-By: Claude Opus 5 (1M context) --- .../YouleNexus/settings/v2/packages/project.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/cocoscreator_projects/YouleNexus/settings/v2/packages/project.json b/cocoscreator_projects/YouleNexus/settings/v2/packages/project.json index 4129dde..c605d54 100644 --- a/cocoscreator_projects/YouleNexus/settings/v2/packages/project.json +++ b/cocoscreator_projects/YouleNexus/settings/v2/packages/project.json @@ -1,3 +1,11 @@ { - "__version__": "1.0.6" + "__version__": "1.0.6", + "general": { + "designResolution": { + "width": 1280, + "height": 720, + "fitWidth": false, + "fitHeight": true + } + } }