fix(framework): 设计分辨率适配策略 fitWidth → fitHeight

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) <noreply@anthropic.com>
This commit is contained in:
2026-08-29 22:18:23 +08:00
co-authored by Claude Opus 5
parent 6b4faab029
commit 9539ee93e0
@@ -1,3 +1,11 @@
{
"__version__": "1.0.6"
"__version__": "1.0.6",
"general": {
"designResolution": {
"width": 1280,
"height": 720,
"fitWidth": false,
"fitHeight": true
}
}
}