diff --git a/scripts/scenes/battle_scene.gd b/scripts/scenes/battle_scene.gd index 27e5f1b..b13588a 100644 --- a/scripts/scenes/battle_scene.gd +++ b/scripts/scenes/battle_scene.gd @@ -200,7 +200,7 @@ const OPENING_STORY_PROGRESS_LEDGER_SIZE := Vector2(326, 48) const OPENING_STORY_PROGRESS_SEAL_SIZE := Vector2(34, 34) const COMMAND_NOTICE_ICON_SIZE := Vector2(32, 32) const COMMAND_NOTICE_MAX_ICONS := 5 -const COMBAT_RESULT_PANEL_POSITION := Vector2(838, 402) +const COMBAT_RESULT_PANEL_POSITION := Vector2(158, 536) const COMBAT_RESULT_PANEL_SIZE := Vector2(396, 164) const CHAPTER_SEAL_BADGE_SIZE := Vector2(54, 54) const CHAPTER_SCENARIO_THUMBNAIL_SIZE := Vector2(72, 50) diff --git a/tools/smoke_visual_assets.gd b/tools/smoke_visual_assets.gd index 490bfc8..4ba266f 100644 --- a/tools/smoke_visual_assets.gd +++ b/tools/smoke_visual_assets.gd @@ -4019,6 +4019,8 @@ func _check_ancient_ui_theme(failures: Array[String]) -> void: _check_panel_style_frame(failures, scene.combat_result_panel, "combat result readable frame", Color(0.42, 0.35, 0.24, 0.98), 2) if scene.combat_result_panel == null or scene.combat_result_panel.custom_minimum_size != BattleSceneScript.COMBAT_RESULT_PANEL_SIZE: failures.append("combat result report should reserve a stable QHD layout size") + elif scene.combat_result_panel.position.x + scene.combat_result_panel.custom_minimum_size.x >= BattleSceneScript.SIDE_PANEL_POSITION.x: + failures.append("combat result report should not cover the right-side unit overview list: %s" % str(scene.combat_result_panel.get_rect())) scene._on_combat_result_reported({ "attacker_name": "조조", "target_name": "황건병",