Trim dialogue panel footprint

This commit is contained in:
2026-06-20 20:16:32 +09:00
parent 25955dc344
commit 339b853b88
2 changed files with 7 additions and 3 deletions

View File

@@ -3793,6 +3793,10 @@ func _check_ancient_ui_theme(failures: Array[String]) -> void:
_check_hanging_tassel(failures, scene.dialogue_left_tassel, "dialogue left tassel")
_check_hanging_tassel(failures, scene.dialogue_right_tassel, "dialogue right tassel")
_check_dialogue_column_budget(failures, scene)
if scene.DIALOGUE_PANEL_POSITION.y < 336.0 or scene.DIALOGUE_PANEL_SIZE.y > 344.0:
failures.append("dialogue panel should stay compact and leave battlefield context visible: pos=%s size=%s" % [str(scene.DIALOGUE_PANEL_POSITION), str(scene.DIALOGUE_PANEL_SIZE)])
if scene.dialogue_text_label == null or scene.dialogue_text_label.custom_minimum_size.y < 160.0:
failures.append("compact dialogue should still reserve readable multi-line Korean body space")
if scene.dialogue_continue_button == null or scene.dialogue_continue_button.text != "다음":
failures.append("dialogue continue button should use Korean text")
if scene.dialogue_previous_button == null or scene.dialogue_previous_button.text != "이전":