fix(live-room-like-heart): 가운데 보이는 하트 크기 수정
This commit is contained in:
@@ -762,7 +762,7 @@ struct LiveRoomViewV2: View {
|
||||
ZStack {
|
||||
// 로컬(롱프레스 중) 물 채우기 하트
|
||||
WaterHeartView(progress: waterProgress, show: showWaterHeart, phase: wavePhase)
|
||||
.frame(width: 280, height: 210)
|
||||
.frame(width: 210, height: 210)
|
||||
.allowsHitTesting(false)
|
||||
.opacity(showWaterHeart ? 1 : 0)
|
||||
.animation(.easeInOut(duration: 0.2), value: showWaterHeart)
|
||||
@@ -771,7 +771,7 @@ struct LiveRoomViewV2: View {
|
||||
WaterHeartView(progress: viewModel.remoteWaterProgress,
|
||||
show: viewModel.isShowRemoteBigHeart,
|
||||
phase: viewModel.remoteWavePhase)
|
||||
.frame(width: 280, height: 280)
|
||||
.frame(width: 210, height: 210)
|
||||
.allowsHitTesting(false)
|
||||
// 롱프레스 로컬 연출 중에는 원격 하트를 숨겨 중복 방지
|
||||
.opacity((viewModel.isShowRemoteBigHeart && !showWaterHeart) ? 1 : 0)
|
||||
|
||||
Reference in New Issue
Block a user