ux: Hint 1 텍스트만 Start 후 사라지게 (칸 유지)
waitingForStart=false 이면 Hint 1 의 텍스트를 ' ' (공백) 으로 교체. 배경/패딩/크기는 그대로라 칸 높이 변동 X — 레이아웃 안정 유지. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
+4
-2
@@ -221,10 +221,12 @@ fun PlacementGuideView(appState: AppState) {
|
||||
.padding(horizontal = 24.dp),
|
||||
horizontalAlignment = Alignment.CenterHorizontally
|
||||
) {
|
||||
// ─── (1) Hint 1 — 시작 전 안내 (항상 표시, 레이아웃 안정) ───
|
||||
// ─── (1) Hint 1 — 시작 전 안내 (칸은 상시 유지, 텍스트는 Start 누르면 사라짐) ───
|
||||
val hint1Bg = Color(0xFFFFF3E0)
|
||||
Text(
|
||||
text = "Place VesiScan above the pubic bone, then press Start",
|
||||
text = if (waitingForStart)
|
||||
"Place VesiScan above the pubic bone, then press Start"
|
||||
else " ", // 공백 — 칸 높이 유지
|
||||
fontSize = 26.sp, // 태블릿: 더 크게
|
||||
fontWeight = FontWeight.Bold,
|
||||
color = Color.Black,
|
||||
|
||||
Reference in New Issue
Block a user