ux: 화살표 깜빡임 박자를 Hint 2 도트 변화에 맞춤 (snap)
증상: 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 <noreply@anthropic.com>
This commit is contained in:
+3
-1
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user