From 5fa58695ece0f427f38e9bbf19037e722e0160cd Mon Sep 17 00:00:00 2001 From: JiWoong Sul Date: Sat, 27 Dec 2025 20:28:22 +0900 Subject: [PATCH] =?UTF-8?q?fix(animation):=20=EC=9D=B4=ED=8E=99=ED=8A=B8?= =?UTF-8?q?=20Y=20=EC=9C=84=EC=B9=98=20=EB=8F=99=EC=A0=81=20=EA=B3=84?= =?UTF-8?q?=EC=82=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 이펙트 높이에 따라 Y 위치 자동 조정 - 캔버스 하단 기준으로 이펙트 정렬 --- lib/src/core/animation/canvas/canvas_battle_composer.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/src/core/animation/canvas/canvas_battle_composer.dart b/lib/src/core/animation/canvas/canvas_battle_composer.dart index 269ecbc..3b01b51 100644 --- a/lib/src/core/animation/canvas/canvas_battle_composer.dart +++ b/lib/src/core/animation/canvas/canvas_battle_composer.dart @@ -263,8 +263,9 @@ class CanvasBattleComposer { final cells = _spriteToCells(effectLines); - // 캐릭터 3줄 기준, 머리 위치 - final effectY = frameHeight - 3 - 1; + // 이펙트 높이에 따른 동적 Y 위치 (캔버스 하단 기준) + final effectHeight = effectLines.length; + final effectY = frameHeight - effectHeight - 1; return AsciiLayer( cells: cells,