[251118] fix: PlayerPanel 오버레이 숨김 동기화

🕐 커밋 시간: 2025. 11. 18. 13:52:01

📊 변경 통계:
  • 총 파일: 2개
  • 추가: +14줄
  • 삭제: -5줄

📝 수정된 파일:
  ~ com.twin.app.shoptime/src/components/VideoPlayer/VideoPlayer.js
  ~ com.twin.app.shoptime/src/views/PlayerPanel/PlayerPanel.jsx

🔧 주요 변경 내용:
  • UI 컴포넌트 아키텍처 개선
This commit is contained in:
2025-11-18 13:52:01 +09:00
parent 42e74f39e9
commit 15aecd0792
2 changed files with 14 additions and 5 deletions

View File

@@ -2072,11 +2072,8 @@ const PlayerPanel = ({ isTabActivated, panelInfo, isOnTop, spotlightId, ...props
return;
}
// NOTE 첫 진입 시에는 30초 후 탭이 닫히도록 설정
if (initialEnterV2) {
// console.log('[TabContainerV2] 첫 진입 - 타이머 시작', INITIAL_TIMEOUT);
resetTimerV2(INITIAL_TIMEOUT);
}
// NOTE 탭이 표시될 때마다 타이머 시작 (첫 진입은 30초, 이후에는 REGULAR_TIMEOUT)
resetTimerV2(initialEnterV2 ? INITIAL_TIMEOUT : REGULAR_TIMEOUT);
const handleEvent = (e) => {
// console.log('[TabContainerV2] 이벤트 발생:', e.type);