Polish opening prologue caption UI
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user