mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
Show Thumbnail
This commit is contained in:
parent
146323f817
commit
a8662d02d4
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ export function ProgressAction() {
|
|||
const controlRef = useRef<typeof controls>(controls);
|
||||
const [hoverPosition, setHoverPosition] = useState<number>(0);
|
||||
const [isThumbnailVisible, setIsThumbnailVisible] = useState<boolean>(false);
|
||||
const casting = getPlayerState(descriptor).casting;
|
||||
const casting = getPlayerState(descriptor).casting.isCasting;
|
||||
const onMouseOver = useCallback((e: MouseActivity) => {
|
||||
setHoverPosition(e.clientX);
|
||||
setIsThumbnailVisible(true);
|
||||
|
|
Loading…
Reference in a new issue