From 1f964241664bf3fab448cfc43998feec5d4bd562 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Sat, 27 Jul 2024 13:48:40 +0200 Subject: [PATCH] [mirotalk] - improvements, update dep --- app/src/server.js | 2 +- package.json | 4 ++-- public/css/client.css | 4 +++- public/css/whiteboard.css | 3 ++- public/js/client.js | 9 ++++++--- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/app/src/server.js b/app/src/server.js index f331b0c5..dce74bcc 100755 --- a/app/src/server.js +++ b/app/src/server.js @@ -40,7 +40,7 @@ dependencies: { * @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.3.56 + * @version 1.3.57 * */ diff --git a/package.json b/package.json index 805c69f4..7d8fcee2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mirotalk", - "version": "1.3.56", + "version": "1.3.57", "description": "A free WebRTC browser-based video call", "main": "server.js", "scripts": { @@ -56,7 +56,7 @@ "js-yaml": "^4.1.0", "ngrok": "^5.0.0-beta.2", "nodemailer": "^6.9.14", - "openai": "^4.53.1", + "openai": "^4.53.2", "qs": "^6.12.3", "socket.io": "^4.7.5", "swagger-ui-express": "^5.0.1", diff --git a/public/css/client.css b/public/css/client.css index 6ea668d3..58b428cc 100755 --- a/public/css/client.css +++ b/public/css/client.css @@ -1853,8 +1853,10 @@ hr { /* Styles for the dropdown menu container */ .dropdown-menu { display: none; + margin-top: 5px; + right: 0; background-color: var(--body-bg); /* Change this to your desired menu background color */ - box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); + box-shadow: var(--box-shadow); border: none; margin-bottom: 20px; } diff --git a/public/css/whiteboard.css b/public/css/whiteboard.css index fd5cd6c6..6a3f09f5 100644 --- a/public/css/whiteboard.css +++ b/public/css/whiteboard.css @@ -141,7 +141,8 @@ display: none; border-radius: 5px; background: var(--body-bg); - box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); + /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */ + box-shadow: var(--box-shadow); border: none; overflow-y: auto; overflow-x: hidden; diff --git a/public/js/client.js b/public/js/client.js index 4ad7b953..fc4b3786 100644 --- a/public/js/client.js +++ b/public/js/client.js @@ -15,7 +15,7 @@ * @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.3.56 + * @version 1.3.57 * */ @@ -8715,7 +8715,10 @@ function toggleLockUnlockWhiteboard() { whiteboardAction(getWhiteboardAction(action)); - if (wbIsLock) playSound('locked'); + if (wbIsLock) { + userLog('toast', 'The whiteboard is locked. \n The participants cannot interact with it.'); + playSound('locked'); + } } /** @@ -10140,7 +10143,7 @@ function showAbout() { Swal.fire({ background: swBg, position: 'center', - title: 'WebRTC P2P v1.3.56', + title: 'WebRTC P2P v1.3.57', imageAlt: 'mirotalk-about', imageUrl: images.about, customClass: { image: 'img-about' },