refactor(ui): table cards parent from TableLabel to TableCardRoot

This commit is contained in:
xiaji
2026-06-02 20:54:50 +08:00
parent 4fa4207f8c
commit edbbb64421

View File

@@ -157,7 +157,7 @@ func _show_table_cards(cards: Array[Card]) -> void:
var node := CARD_NODE_SCENE.instantiate() as CardNode
if node == null:
continue
table_label.add_child(node)
table_card_root.add_child(node)
node.setup(card)
node.position = Vector2(start_x + i * 60, 80)
node.custom_minimum_size = Vector2(55, 80)