Compact post move picker panel
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user