Skip to content

Commit

Permalink
overlay: no pointer events when not hosting. #381
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k1o committed Apr 4, 2024
1 parent d1f1be4 commit f32fc98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/components/video.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f32fc98

Please sign in to comment.