From 7e5b545a0f122bb35865fc2b3b2099a49f4bc093 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Tue, 10 Nov 2020 21:46:22 +0100 Subject: [PATCH] add public gettter. --- src/components/canvas.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/canvas.vue b/src/components/canvas.vue index 6799ceee..84c411a3 100644 --- a/src/components/canvas.vue +++ b/src/components/canvas.vue @@ -120,6 +120,10 @@ return this.state.connection.websocket == 'connected' && this.state.connection.webrtc == 'connected' } + public get controlling() { + return this.state.member.is_controlling + } + ///////////////////////////// // Public events /////////////////////////////