fix(rendering): complete character visual regression fixes
This commit is contained in:
@@ -319,7 +319,11 @@ func _run() -> void:
|
||||
fc.quickslots = [{"pos": 2, "type": 2, "ref": 16}, {"pos": 3, "type": 1, "ref": 9},
|
||||
{"pos": 4, "type": 3, "ref": 11}]
|
||||
qb2.setup(fc, st, ui, func() -> Node: return pl) # setup 里自动 restore_from_server
|
||||
_ck(qb2._root.size == Vector2(400, 56) and qb2._root.z_index > 0,
|
||||
"quickbar has a real bottom-anchor extent and stays above legacy HUD")
|
||||
_ck(qb2._state[2].kind == "skill" and int(qb2._state[2].id) == 16, "quickslot 恢复:格2=技能16")
|
||||
_ck(qb2._slots[2].icon.texture != null and qb2._slots[2].icon.visible,
|
||||
"server-restored skill slot renders its icon")
|
||||
_ck(qb2._state[3].kind == "item" and int(qb2._state[3].id) == 9, "quickslot 恢复:格3=道具9")
|
||||
_ck(qb2._state[4].kind == "emote" and int(qb2._state[4].id) == 11, "quickslot 恢复:格4=表情11")
|
||||
qb2.activate(4)
|
||||
|
||||
Reference in New Issue
Block a user