Merge pull request #696 from movie-web/fix-hover

Fix player UI not always vanishing (or so we hope :D)
This commit is contained in:
mrjvs 2024-01-03 00:59:02 +01:00 committed by GitHub
commit bc5e2d6f30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ function ThumbnailDisplay(props: { at: number; show: boolean }) {
if (!props.show || !currentThumbnail) return null; if (!props.show || !currentThumbnail) return null;
return ( return (
<div className="flex flex-col items-center -translate-x-1/2"> <div className="flex flex-col items-center -translate-x-1/2 pointer-events-none">
<div className="w-screen flex justify-center"> <div className="w-screen flex justify-center">
<div ref={ref}> <div ref={ref}>
<div <div