mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
disable pointer events when session can not control. (#41)
This commit is contained in:
parent
8595ec9295
commit
e13c97299d
@ -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…
Reference in New Issue
Block a user