Clarify unit overview row tooltips
This commit is contained in:
@@ -10722,7 +10722,7 @@ func _make_side_unit_overview_row(unit: Dictionary) -> HBoxContainer:
|
||||
status_label.custom_minimum_size = Vector2(52, SIDE_UNIT_OVERVIEW_ROW_SIZE.y)
|
||||
status_label.horizontal_alignment = HORIZONTAL_ALIGNMENT_RIGHT
|
||||
status_label.vertical_alignment = VERTICAL_ALIGNMENT_CENTER
|
||||
status_label.tooltip_text = _battle_unit_action_state_tooltip(unit)
|
||||
status_label.tooltip_text = "%s\n%s" % [_battle_unit_action_state_tooltip(unit), tooltip_text]
|
||||
_apply_label_style(status_label, UI_PARCHMENT_TEXT, 12)
|
||||
row.add_child(status_label)
|
||||
return row
|
||||
|
||||
Reference in New Issue
Block a user