Polish opening prologue caption UI

This commit is contained in:
2026-06-20 08:18:03 +09:00
parent 80fda0fda6
commit 11959a8d06
4 changed files with 51 additions and 28 deletions

View File

@@ -560,8 +560,10 @@ func _check_readability_contract(failures: Array[String]) -> void:
failures.append("briefing objective panel should reserve enough height for victory and defeat text")
if scene.briefing_objective_toggle_button == null:
failures.append("briefing objective section should have a close/open button")
elif scene.briefing_objective_toggle_button.text != "닫기":
failures.append("briefing objective button should start with a clear close label")
elif scene.briefing_objective_toggle_button.text != "" or scene.briefing_objective_toggle_button.icon == null or not bool(scene.briefing_objective_toggle_button.get_meta("icon_only", false)):
failures.append("briefing objective button should start as an icon-only control")
elif not scene.briefing_objective_toggle_button.tooltip_text.contains("접기"):
failures.append("briefing objective icon tooltip should explain closing the conditions")
_check_text_fit_contract(scene, failures)
scene.free()