Skip to content

Commit 77d8296

Browse files
authored
fix: 이미지 부분에 터치 시 버튼 클릭 안되는 문제 해결 (#40)
1 parent f6d9611 commit 77d8296

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

frontend/ongi/lib/screens/health/health_home_screen.dart

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -377,13 +377,15 @@ class _HealthHomeScreenState extends State<HealthHomeScreen> {
377377
Positioned(
378378
right: 0,
379379
top: -20,
380-
child: Container(
381-
height: 150,
382-
clipBehavior: Clip.hardEdge,
383-
decoration: const BoxDecoration(),
384-
child: Image.asset(
385-
'assets/images/parent_exercise_icon.png',
386-
width: 170,
380+
child: IgnorePointer(
381+
child: Container(
382+
height: 150,
383+
clipBehavior: Clip.hardEdge,
384+
decoration: const BoxDecoration(),
385+
child: Image.asset(
386+
'assets/images/parent_exercise_icon.png',
387+
width: 170,
388+
),
387389
),
388390
),
389391
),

0 commit comments

Comments
 (0)