Hide cursor when hiding controls
This commit is contained in:
@ -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", () => {
|
||||
|
Reference in New Issue
Block a user