SHOPTIME-4000 hotpicks 상품썸네일 인디케이터 숫자 겹침현상 수정
This commit is contained in:
@@ -350,11 +350,7 @@ function ThemeIndicator({
|
|||||||
imageSelectedIndex={imageSelectedIndex}
|
imageSelectedIndex={imageSelectedIndex}
|
||||||
setImageSelectedIndex={setImageSelectedIndex}
|
setImageSelectedIndex={setImageSelectedIndex}
|
||||||
themeProductInfo={themeProductInfo}
|
themeProductInfo={themeProductInfo}
|
||||||
imageLength={
|
imageLength={imageLength}
|
||||||
imageSelectedIndex === 0 && canPlayVideo && !launchedFromPlayer
|
|
||||||
? imageLength + 1
|
|
||||||
: imageLength
|
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ export default function ThemeIndicatorArrow({
|
|||||||
if (imageSelectedIndex > 0) {
|
if (imageSelectedIndex > 0) {
|
||||||
setImageSelectedIndex((prev) => prev - 1);
|
setImageSelectedIndex((prev) => prev - 1);
|
||||||
|
|
||||||
if (imageSelectedIndex === 0) {
|
if (imageSelectedIndex === 1) {
|
||||||
return Spotlight.focus("thumbnailNextButton");
|
return Spotlight.focus("thumbnailNextButton");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2051,7 +2051,6 @@ const PlayerPanel = ({
|
|||||||
};
|
};
|
||||||
} else if (playListInfo?.[selectedIndex]) {
|
} else if (playListInfo?.[selectedIndex]) {
|
||||||
const currentItem = playListInfo[selectedIndex];
|
const currentItem = playListInfo[selectedIndex];
|
||||||
console.log("###visible", visible);
|
|
||||||
return {
|
return {
|
||||||
visible,
|
visible,
|
||||||
showType: isShowType,
|
showType: isShowType,
|
||||||
@@ -2093,7 +2092,6 @@ const PlayerPanel = ({
|
|||||||
// 컴포넌트 언마운트 시에만 로그를 보냄
|
// 컴포넌트 언마운트 시에만 로그를 보냄
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
return () => {
|
return () => {
|
||||||
console.log("###cleanup");
|
|
||||||
const params = createLogParams(false);
|
const params = createLogParams(false);
|
||||||
if (params) {
|
if (params) {
|
||||||
dispatch(sendLogTotalRecommend(params));
|
dispatch(sendLogTotalRecommend(params));
|
||||||
|
|||||||
Reference in New Issue
Block a user