refactor(common): 调整弹窗预制体尺寸与文本样式
1. 调整弹窗内容区域高度与文本行高、字号 2. 为通用弹窗标题添加描边支持 3. 优化英雄列表排序逻辑 首先调整了通用弹窗预制体的文本样式参数,修复Cocos 3.8+的Label描边适配,同时重构英雄列表排序规则,将可升级英雄优先展示并按等级、品质降序排列。
This commit is contained in:
@@ -787,7 +787,7 @@
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 540,
|
||||
"height": 26.46
|
||||
"height": 44.1
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -812,11 +812,11 @@
|
||||
"__prefab": {
|
||||
"__id__": 44
|
||||
},
|
||||
"_lineHeight": 21,
|
||||
"_lineHeight": 35,
|
||||
"_string": "<color=#00ff00>Rich</color><color=#0fffff>Text</color>",
|
||||
"_horizontalAlign": 0,
|
||||
"_verticalAlign": 1,
|
||||
"_fontSize": 20,
|
||||
"_fontSize": 30,
|
||||
"_fontColor": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
|
||||
Reference in New Issue
Block a user