fix(live-room-like-heart): 가운데 보이는 하트 크기 수정

This commit is contained in:
Yu Sung
2025-11-05 22:22:54 +09:00
parent 54d8845342
commit 3a7da9a876

View File

@@ -762,7 +762,7 @@ struct LiveRoomViewV2: View {
ZStack { ZStack {
// ( ) // ( )
WaterHeartView(progress: waterProgress, show: showWaterHeart, phase: wavePhase) WaterHeartView(progress: waterProgress, show: showWaterHeart, phase: wavePhase)
.frame(width: 280, height: 210) .frame(width: 210, height: 210)
.allowsHitTesting(false) .allowsHitTesting(false)
.opacity(showWaterHeart ? 1 : 0) .opacity(showWaterHeart ? 1 : 0)
.animation(.easeInOut(duration: 0.2), value: showWaterHeart) .animation(.easeInOut(duration: 0.2), value: showWaterHeart)
@@ -771,7 +771,7 @@ struct LiveRoomViewV2: View {
WaterHeartView(progress: viewModel.remoteWaterProgress, WaterHeartView(progress: viewModel.remoteWaterProgress,
show: viewModel.isShowRemoteBigHeart, show: viewModel.isShowRemoteBigHeart,
phase: viewModel.remoteWavePhase) phase: viewModel.remoteWavePhase)
.frame(width: 280, height: 280) .frame(width: 210, height: 210)
.allowsHitTesting(false) .allowsHitTesting(false)
// //
.opacity((viewModel.isShowRemoteBigHeart && !showWaterHeart) ? 1 : 0) .opacity((viewModel.isShowRemoteBigHeart && !showWaterHeart) ? 1 : 0)