mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-03 03:12:41 +02:00
overlay: no pointer events when not hosting. #381
This commit is contained in:
parent
d1f1be4e86
commit
f32fc989b9
1 changed files with 1 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
||||||
class="overlay"
|
class="overlay"
|
||||||
tabindex="0"
|
tabindex="0"
|
||||||
data-gramm="false"
|
data-gramm="false"
|
||||||
|
:style="{ pointerEvents: hosting ? 'auto' : 'none' }"
|
||||||
@click.stop.prevent
|
@click.stop.prevent
|
||||||
@contextmenu.stop.prevent
|
@contextmenu.stop.prevent
|
||||||
@wheel.stop.prevent="onWheel"
|
@wheel.stop.prevent="onWheel"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue