[영상]
- 프로그레스바 크기변경 - 타임 노출부분 변경 - cc 버튼 위치변경
This commit is contained in:
@@ -21,8 +21,16 @@ export default function ShopNowButton({ onClick }) {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
// tabIndexV2가 2일 때만 CC 버튼으로 내려가기
|
||||
Spotlight.focus('player-subtitlebutton');
|
||||
Spotlight.focus('live-channel-next-button');
|
||||
};
|
||||
|
||||
const handleSpotlightLeft = (e) => {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
// tabIndexV2가 2일 때만 CC 버튼으로 내려가기
|
||||
Spotlight.focus('player-subtitlebutton');
|
||||
};
|
||||
|
||||
return (
|
||||
<div className={css.container}>
|
||||
<SpottableDiv
|
||||
@@ -31,6 +39,7 @@ export default function ShopNowButton({ onClick }) {
|
||||
spotlightId="below-tab-shop-now-button"
|
||||
onSpotlightUp={handleSpotlightUp}
|
||||
onSpotlightDown={handleSpotlightDown}
|
||||
onSpotlightLeft={handleSpotlightLeft}
|
||||
>
|
||||
<span className={css.buttonText}>SHOP NOW</span>
|
||||
</SpottableDiv>
|
||||
|
||||
Reference in New Issue
Block a user