fix(live-room): Path로 그리는 하트 크기 133dp -> 200dp, 표시 시간 0.15초에서 0.3초로 수정

This commit is contained in:
2025-11-06 17:11:49 +09:00
parent ed2258208b
commit c0d998345d

View File

@@ -2313,7 +2313,7 @@ class LiveRoomActivity : BaseActivity<ActivityLiveRoomBinding>(ActivityLiveRoomB
// 메시지로 수신된 경우: Path 드로잉 기반으로 중앙 하트를 잠깐 표시 후 폭발 실행
if (fromMessage) {
val floatView = ensureBigHeartFloatView()
floatView.emitCenterOnce(sizeDp = 133.3f, showDurationMs = 150L)
floatView.emitCenterOnce(sizeDp = 200f, showDurationMs = 300L)
return
}
@@ -2445,7 +2445,7 @@ class LiveRoomActivity : BaseActivity<ActivityLiveRoomBinding>(ActivityLiveRoomB
private var explosionCenterY = 0f
// 화면 중앙에 하트를 잠깐 표시 후 자동 폭발
fun emitCenterOnce(sizeDp: Float = 133.3f, showDurationMs: Long = 150L) {
fun emitCenterOnce(sizeDp: Float = 200f, showDurationMs: Long = 300L) {
if (width == 0 || height == 0) {
post { emitCenterOnce(sizeDp, showDurationMs) }
return