Hide cursor when hiding controls

This commit is contained in:
2018-12-08 15:01:07 +09:00
parent dacd92e86d
commit 866815516c
3 changed files with 6 additions and 1 deletions

View File

@ -904,10 +904,12 @@ export default class AnimeNotifier {
let hideControls = () => {
controls.classList.add("fade-out")
video.style.cursor = "none"
}
let showControls = () => {
controls.classList.remove("fade-out")
video.style.cursor = "default"
}
video.addEventListener("mousemove", () => {