From d04294133a258bbe140158d1936d1428e47f00c4 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Mon, 6 Dec 2021 21:15:16 +0100 Subject: [PATCH] [mirotalksfu] - move the whiteboard button --- public/css/Room.css | 2 +- public/js/Room.js | 9 +-------- public/view/Room.html | 15 +-------------- 3 files changed, 3 insertions(+), 23 deletions(-) diff --git a/public/css/Room.css b/public/css/Room.css index 35f79d0..ab66443 100644 --- a/public/css/Room.css +++ b/public/css/Room.css @@ -202,7 +202,7 @@ body { --------------------------------------------------------------*/ .tab { overflow: hidden; - background-color: rgba(0, 0, 0, 0.4); + background-color: #000000; } /* Style the buttons inside the tab */ diff --git a/public/js/Room.js b/public/js/Room.js index 6c1eb4f..b7f8313 100644 --- a/public/js/Room.js +++ b/public/js/Room.js @@ -72,7 +72,6 @@ function getRandomNumber(length) { function initClient() { if (!DetectRTC.isMobileDevice) { setTippy('tabDevicesBtn', 'Devices', 'top'); - setTippy('tabWhiteboardBtn', 'Whiteboard', 'top'); setTippy('tabRecordingBtn', 'Recording', 'top'); setTippy('tabRoomBtn', 'Room', 'top'); setTippy('tabYoutubeBtn', 'YouTube', 'top'); @@ -440,6 +439,7 @@ function roomIsReady() { }; show(fullScreenButton); } + show(whiteboardButton); show(settingsButton); show(raiseHandButton); isAudioAllowed ? show(stopAudioButton) : show(startAudioButton); @@ -552,9 +552,6 @@ function handleButtons() { tabDevicesBtn.onclick = (e) => { rc.openTab(e, 'tabDevices'); }; - tabWhiteboardBtn.onclick = (e) => { - rc.openTab(e, 'tabWhiteboard'); - }; tabRecordingBtn.onclick = (e) => { rc.openTab(e, 'tabRecording'); }; @@ -652,7 +649,6 @@ function handleButtons() { rc.hideFileTransfer(); }; whiteboardButton.onclick = () => { - rc.toggleMySettings(); toggleWhiteboard(); }; whiteboardPencilBtn.onclick = () => { @@ -738,9 +734,6 @@ function handleSelects() { rc.changeBtnsBarPosition(BtnsBarPosition.value); }; // whiteboard options - wbDrawingLineWidthEl.onchange = () => { - wbCanvas.freeDrawingBrush.width = parseInt(wbDrawingLineWidthEl.value, 10) || 1; - }; wbDrawingColorEl.onchange = () => { wbCanvas.freeDrawingBrush.color = wbDrawingColorEl.value; whiteboardIsDrawingMode(true); diff --git a/public/view/Room.html b/public/view/Room.html index 88323e1..192bf4f 100644 --- a/public/view/Room.html +++ b/public/view/Room.html @@ -106,6 +106,7 @@ access to use this app. + @@ -121,7 +122,6 @@ access to use this app. - @@ -142,19 +142,6 @@ access to use this app.
-
-
- -
- -

Line width:

- -
-
-