mirror of
https://github.com/m1k1o/neko.git
synced 2025-04-29 02:16:21 +02:00
disable pointer events when session can not control. (#41)
This commit is contained in:
parent
8595ec9295
commit
e13c97299d
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
||||||
<neko-overlay
|
<neko-overlay
|
||||||
ref="overlay"
|
ref="overlay"
|
||||||
v-show="!private_mode_enabled && state.connection.status != 'disconnected'"
|
v-show="!private_mode_enabled && state.connection.status != 'disconnected'"
|
||||||
:style="{ pointerEvents: state.control.locked ? 'none' : 'auto' }"
|
:style="{ pointerEvents: state.control.locked || (session && !session.profile.can_host) ? 'none' : 'auto' }"
|
||||||
:control="control"
|
:control="control"
|
||||||
:sessions="state.sessions"
|
:sessions="state.sessions"
|
||||||
:hostId="state.control.host_id"
|
:hostId="state.control.host_id"
|
||||||
|
|
Loading…
Add table
Reference in a new issue