From f32fc989b943299fdbd2c9ca28770c2834fb1861 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Thu, 4 Apr 2024 23:48:59 +0200 Subject: [PATCH] overlay: no pointer events when not hosting. #381 --- client/src/components/video.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/components/video.vue b/client/src/components/video.vue index e97c4fc99..b33812143 100644 --- a/client/src/components/video.vue +++ b/client/src/components/video.vue @@ -13,6 +13,7 @@ class="overlay" tabindex="0" data-gramm="false" + :style="{ pointerEvents: hosting ? 'auto' : 'none' }" @click.stop.prevent @contextmenu.stop.prevent @wheel.stop.prevent="onWheel"