From 5584096da21ef65d8610d3b91c0432e33ba8e59a Mon Sep 17 00:00:00 2001 From: tuxfoo Date: Thu, 9 Jan 2020 17:19:04 +1300 Subject: [PATCH] disable pointer if fullscreen and inactive mouse and playing --- ui/scss/component/_file-render.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/scss/component/_file-render.scss b/ui/scss/component/_file-render.scss index 2ee58a335..c96698934 100644 --- a/ui/scss/component/_file-render.scss +++ b/ui/scss/component/_file-render.scss @@ -35,10 +35,14 @@ height: 100%; object-fit: contain; } - video { cursor: pointer; } + .video-js.vjs-fullscreen.vjs-user-inactive.vjs-playing { + video { + cursor: none; + } + } } .file-render__viewer--document {