mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
overlay: no pointer events when not hosting. #381
This commit is contained in:
parent
d1f1be4e86
commit
f32fc989b9
@ -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…
Reference in New Issue
Block a user