hide overlay only if disconnected.

This commit is contained in:
Miroslav Šedivý 2022-08-17 23:22:44 +02:00
parent 11b3738244
commit cfcc06fdcd

View File

@ -20,7 +20,7 @@
:cursorDraw="inactiveCursorDrawFunction" :cursorDraw="inactiveCursorDrawFunction"
/> />
<neko-overlay <neko-overlay
v-show="!private_mode_enabled && connected" v-show="!private_mode_enabled && state.connection.status != 'disconnected'"
:style="{ pointerEvents: state.control.locked ? 'none' : 'auto' }" :style="{ pointerEvents: state.control.locked ? 'none' : 'auto' }"
:wsControl="control" :wsControl="control"
:sessions="state.sessions" :sessions="state.sessions"