From deb47645d88bfba12e2437cc8a8a46d0f8921f82 Mon Sep 17 00:00:00 2001 From: jjangddu Date: Wed, 17 Jun 2026 16:34:06 +0900 Subject: [PATCH] =?UTF-8?q?ux:=20=ED=99=94=EC=82=B4=ED=91=9C=20=EA=B9=9C?= =?UTF-8?q?=EB=B9=A1=EC=9E=84=20=EB=B0=95=EC=9E=90=EB=A5=BC=20Hint=202=20?= =?UTF-8?q?=EB=8F=84=ED=8A=B8=20=EB=B3=80=ED=99=94=EC=97=90=20=EB=A7=9E?= =?UTF-8?q?=EC=B6=A4=20(snap)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 증상: Hint 2 의 ". .. ..." 도트는 매 scanCount 마다 instant 변화, 화살표는 같은 scanCount 에 220ms tween 으로 fade — 같은 tick 에 시작하지만 fade 가 끌어서 시각적 박자가 어긋나 보임. 수정: animationSpec tween 220 → 0 (snap). 화살표가 도트와 동일하게 한 시각에 on/off 토글. 둘 다 scanCount driver 위에서 같은 박자로 움직임. Co-Authored-By: Claude Opus 4.7 --- .../ui/views/monitoring/PlacementGuideView.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/example/medilightv2android/ui/views/monitoring/PlacementGuideView.kt b/app/src/main/java/com/example/medilightv2android/ui/views/monitoring/PlacementGuideView.kt index 01a5b26..d5a2bad 100644 --- a/app/src/main/java/com/example/medilightv2android/ui/views/monitoring/PlacementGuideView.kt +++ b/app/src/main/java/com/example/medilightv2android/ui/views/monitoring/PlacementGuideView.kt @@ -307,9 +307,11 @@ fun PlacementGuideView(appState: AppState) { // 화살표 깜빡임 — alpha 1.0 ↔ 0.0 (완전 사라짐), 빨강 색. // 사용자 피드백: "붉은색/사라짐 으로 깜빡임" + // tween 0ms (snap) — 아래 Hint 2 의 ". .. ..." 도트 변화(instant)와 동일 + // 시각 tick 에 깜빡이도록 fade 제거 → 둘이 같은 박자로 보임. val arrowAlpha by animateFloatAsState( targetValue = if (scanCount % 2 == 0) 1f else 0f, - animationSpec = tween(durationMillis = 220), + animationSpec = tween(durationMillis = 0), label = "arrowBlink" )