mirror of
https://github.com/m1k1o/neko.git
synced 2025-04-28 18:06:20 +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
|
||||
ref="overlay"
|
||||
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"
|
||||
:sessions="state.sessions"
|
||||
:hostId="state.control.host_id"
|
||||
|
|
Loading…
Add table
Reference in a new issue