[mirotalksfu] - fix typo, update dep.

هذا الالتزام موجود في:
Miroslav Pejic
2023-07-29 17:13:08 +02:00
الأصل 755658e2e6
التزام a0ec4ecf9f
2 ملفات معدلة مع 18 إضافات و18 حذوفات

عرض الملف

@@ -33,8 +33,8 @@
"author": "Miroslav Pejic", "author": "Miroslav Pejic",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"dependencies": { "dependencies": {
"@sentry/integrations": "7.60.0", "@sentry/integrations": "7.60.1",
"@sentry/node": "7.60.0", "@sentry/node": "7.60.1",
"axios": "^1.4.0", "axios": "^1.4.0",
"body-parser": "1.20.2", "body-parser": "1.20.2",
"colors": "1.4.0", "colors": "1.4.0",

عرض الملف

@@ -833,10 +833,10 @@ function roomIsReady() {
BUTTONS.settings.lobbyButton && show(lobbyButton); BUTTONS.settings.lobbyButton && show(lobbyButton);
BUTTONS.main.aboutButton && show(aboutButton); BUTTONS.main.aboutButton && show(aboutButton);
if (!DetectRTC.isMobileDevice) show(pinUnpinGridDiv); if (!DetectRTC.isMobileDevice) show(pinUnpinGridDiv);
loadSettings();
handleButtons(); handleButtons();
handleSelects(); handleSelects();
handleInputs(); handleInputs();
loadSettingsFromLocalStorage();
startSessionTimer(); startSessionTimer();
document.body.addEventListener('mousemove', (e) => { document.body.addEventListener('mousemove', (e) => {
showButtons(); showButtons();
@@ -917,21 +917,6 @@ function stopRecordingTimer() {
clearInterval(recTimer); clearInterval(recTimer);
} }
// ####################################################
// LOAD SETTINGS
// ####################################################
function loadSettings() {
BtnVideoObjectFit.selectedIndex = lsSettings.video_obj_fit;
BtnVideoControls.selectedIndex = lsSettings.video_controls;
BtnsBarPosition.selectedIndex = lsSettings.buttons_bar;
pinVideoPosition.selectedIndex = lsSettings.pin_grid;
rc.handleVideoObjectFit(BtnVideoObjectFit.value);
rc.handleVideoControls(BtnVideoControls.value);
rc.changeBtnsBarPosition(BtnsBarPosition.value);
rc.togglePin(pinVideoPosition.value);
}
// #################################################### // ####################################################
// HTML BUTTONS // HTML BUTTONS
// #################################################### // ####################################################
@@ -1460,6 +1445,21 @@ function handleInputs() {
} }
} }
// ####################################################
// LOAD SETTINGS FROM LOCAL STORAGE
// ####################################################
function loadSettingsFromLocalStorage() {
BtnVideoObjectFit.selectedIndex = lsSettings.video_obj_fit;
BtnVideoControls.selectedIndex = lsSettings.video_controls;
BtnsBarPosition.selectedIndex = lsSettings.buttons_bar;
pinVideoPosition.selectedIndex = lsSettings.pin_grid;
rc.handleVideoObjectFit(BtnVideoObjectFit.value);
rc.handleVideoControls(BtnVideoControls.value);
rc.changeBtnsBarPosition(BtnsBarPosition.value);
rc.togglePin(pinVideoPosition.value);
}
// #################################################### // ####################################################
// ROOM CLIENT EVENT LISTNERS // ROOM CLIENT EVENT LISTNERS
// #################################################### // ####################################################