[mirotalksfu] - move the whiteboard button
هذا الالتزام موجود في:
@@ -202,7 +202,7 @@ body {
|
|||||||
--------------------------------------------------------------*/
|
--------------------------------------------------------------*/
|
||||||
.tab {
|
.tab {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-color: rgba(0, 0, 0, 0.4);
|
background-color: #000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Style the buttons inside the tab */
|
/* Style the buttons inside the tab */
|
||||||
|
|||||||
@@ -72,7 +72,6 @@ function getRandomNumber(length) {
|
|||||||
function initClient() {
|
function initClient() {
|
||||||
if (!DetectRTC.isMobileDevice) {
|
if (!DetectRTC.isMobileDevice) {
|
||||||
setTippy('tabDevicesBtn', 'Devices', 'top');
|
setTippy('tabDevicesBtn', 'Devices', 'top');
|
||||||
setTippy('tabWhiteboardBtn', 'Whiteboard', 'top');
|
|
||||||
setTippy('tabRecordingBtn', 'Recording', 'top');
|
setTippy('tabRecordingBtn', 'Recording', 'top');
|
||||||
setTippy('tabRoomBtn', 'Room', 'top');
|
setTippy('tabRoomBtn', 'Room', 'top');
|
||||||
setTippy('tabYoutubeBtn', 'YouTube', 'top');
|
setTippy('tabYoutubeBtn', 'YouTube', 'top');
|
||||||
@@ -440,6 +439,7 @@ function roomIsReady() {
|
|||||||
};
|
};
|
||||||
show(fullScreenButton);
|
show(fullScreenButton);
|
||||||
}
|
}
|
||||||
|
show(whiteboardButton);
|
||||||
show(settingsButton);
|
show(settingsButton);
|
||||||
show(raiseHandButton);
|
show(raiseHandButton);
|
||||||
isAudioAllowed ? show(stopAudioButton) : show(startAudioButton);
|
isAudioAllowed ? show(stopAudioButton) : show(startAudioButton);
|
||||||
@@ -552,9 +552,6 @@ function handleButtons() {
|
|||||||
tabDevicesBtn.onclick = (e) => {
|
tabDevicesBtn.onclick = (e) => {
|
||||||
rc.openTab(e, 'tabDevices');
|
rc.openTab(e, 'tabDevices');
|
||||||
};
|
};
|
||||||
tabWhiteboardBtn.onclick = (e) => {
|
|
||||||
rc.openTab(e, 'tabWhiteboard');
|
|
||||||
};
|
|
||||||
tabRecordingBtn.onclick = (e) => {
|
tabRecordingBtn.onclick = (e) => {
|
||||||
rc.openTab(e, 'tabRecording');
|
rc.openTab(e, 'tabRecording');
|
||||||
};
|
};
|
||||||
@@ -652,7 +649,6 @@ function handleButtons() {
|
|||||||
rc.hideFileTransfer();
|
rc.hideFileTransfer();
|
||||||
};
|
};
|
||||||
whiteboardButton.onclick = () => {
|
whiteboardButton.onclick = () => {
|
||||||
rc.toggleMySettings();
|
|
||||||
toggleWhiteboard();
|
toggleWhiteboard();
|
||||||
};
|
};
|
||||||
whiteboardPencilBtn.onclick = () => {
|
whiteboardPencilBtn.onclick = () => {
|
||||||
@@ -738,9 +734,6 @@ function handleSelects() {
|
|||||||
rc.changeBtnsBarPosition(BtnsBarPosition.value);
|
rc.changeBtnsBarPosition(BtnsBarPosition.value);
|
||||||
};
|
};
|
||||||
// whiteboard options
|
// whiteboard options
|
||||||
wbDrawingLineWidthEl.onchange = () => {
|
|
||||||
wbCanvas.freeDrawingBrush.width = parseInt(wbDrawingLineWidthEl.value, 10) || 1;
|
|
||||||
};
|
|
||||||
wbDrawingColorEl.onchange = () => {
|
wbDrawingColorEl.onchange = () => {
|
||||||
wbCanvas.freeDrawingBrush.color = wbDrawingColorEl.value;
|
wbCanvas.freeDrawingBrush.color = wbDrawingColorEl.value;
|
||||||
whiteboardIsDrawingMode(true);
|
whiteboardIsDrawingMode(true);
|
||||||
|
|||||||
@@ -106,6 +106,7 @@ access to use this app.
|
|||||||
<button id="chatButton" class="hidden"><i class="fas fa-comments"></i></button>
|
<button id="chatButton" class="hidden"><i class="fas fa-comments"></i></button>
|
||||||
<button id="startScreenButton" class="hidden"><i class="fas fa-desktop"></i></button>
|
<button id="startScreenButton" class="hidden"><i class="fas fa-desktop"></i></button>
|
||||||
<button id="stopScreenButton" class="hidden"><i class="fas fa-stop-circle"></i></button>
|
<button id="stopScreenButton" class="hidden"><i class="fas fa-stop-circle"></i></button>
|
||||||
|
<button id="whiteboardButton" class="hidden"><i class="fas fa-chalkboard-teacher"></i></button>
|
||||||
<button id="settingsButton" class="hidden"><i class="fas fa-cogs"></i></button>
|
<button id="settingsButton" class="hidden"><i class="fas fa-cogs"></i></button>
|
||||||
<button id="exitButton" class="hidden"><i class="fas fa-phone-slash"></i></button>
|
<button id="exitButton" class="hidden"><i class="fas fa-phone-slash"></i></button>
|
||||||
</div>
|
</div>
|
||||||
@@ -121,7 +122,6 @@ access to use this app.
|
|||||||
<button id="tabDevicesBtn" class="fas fa-cog tablinks"></button>
|
<button id="tabDevicesBtn" class="fas fa-cog tablinks"></button>
|
||||||
<button id="tabRoomBtn" class="fas fa-home tablinks"></button>
|
<button id="tabRoomBtn" class="fas fa-home tablinks"></button>
|
||||||
<button id="tabRecordingBtn" class="fas fa-record-vinyl tablinks"></button>
|
<button id="tabRecordingBtn" class="fas fa-record-vinyl tablinks"></button>
|
||||||
<button id="tabWhiteboardBtn" class="fas fa-chalkboard-teacher tablinks"></button>
|
|
||||||
<button id="tabYoutubeBtn" class="fab fa-youtube tablinks"></button>
|
<button id="tabYoutubeBtn" class="fab fa-youtube tablinks"></button>
|
||||||
<button id="tabStylingBtn" class="fas fa-palette tablinks"></button>
|
<button id="tabStylingBtn" class="fas fa-palette tablinks"></button>
|
||||||
</div>
|
</div>
|
||||||
@@ -142,19 +142,6 @@ access to use this app.
|
|||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="tabWhiteboard" class="tabcontent">
|
|
||||||
<br />
|
|
||||||
<button id="whiteboardButton">
|
|
||||||
<i class="fas fa-chalkboard-teacher"></i>
|
|
||||||
<p>Open whiteboard</p>
|
|
||||||
</button>
|
|
||||||
<br />
|
|
||||||
<i class="fas fa-pencil-alt"></i>
|
|
||||||
<p>Line width:</p>
|
|
||||||
<input id="wbDrawingLineWidthEl" type="range" value="3" min="1" max="15" />
|
|
||||||
<br />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="tabRoom" class="tabcontent">
|
<div id="tabRoom" class="tabcontent">
|
||||||
<br />
|
<br />
|
||||||
<button id="fullScreenButton" class="hidden">
|
<button id="fullScreenButton" class="hidden">
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم