Files
youle_cocos/cocoscreator_projects/YouleNexus/settings/v2/packages/project.json
T
joywayerandClaude Opus 5 9539ee93e0 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>
2026-08-29 22:18:23 +08:00

12 lines
172 B
JSON

{
"__version__": "1.0.6",
"general": {
"designResolution": {
"width": 1280,
"height": 720,
"fitWidth": false,
"fitHeight": true
}
}
}