Compact post move picker panel

This commit is contained in:
2026-06-21 04:27:07 +09:00
parent 48e2d463c6
commit dcf6f9fc77
2 changed files with 13 additions and 11 deletions

View File

@@ -448,7 +448,7 @@ func _check_scene_post_move_text_fit(failures: Array[String]) -> void:
_check_fitted_label_font(failures, scene.post_move_title_label, BattleSceneScript.LOCAL_COMMAND_TITLE_FONT_SIZE, BattleSceneScript.LOCAL_COMMAND_TITLE_MIN_FONT_SIZE, "post-move long unit title")
scene._show_post_move_picker("tactic")
if BattleSceneScript.POST_MOVE_PICKER_PANEL_SIZE.y > 240.0:
if BattleSceneScript.POST_MOVE_PICKER_PANEL_SIZE.x > 320.0 or BattleSceneScript.POST_MOVE_PICKER_PANEL_SIZE.y > 200.0:
failures.append("post-move picker should stay compact enough not to cover the battle center: %s" % str(BattleSceneScript.POST_MOVE_PICKER_PANEL_SIZE))
if scene.post_move_picker_title_label == null:
failures.append("post-move picker should expose a fitted title label")