From b4c71f953dd82851ca52d70271db94d2f10d8dc8 Mon Sep 17 00:00:00 2001 From: Miroslav Pejic Date: Tue, 15 Nov 2022 08:32:05 +0100 Subject: [PATCH] [mirotalksfu] - improve wb --- public/js/Room.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/public/js/Room.js b/public/js/Room.js index 39c69f75..7f54d5d4 100644 --- a/public/js/Room.js +++ b/public/js/Room.js @@ -1495,6 +1495,12 @@ function whiteboardAddObj(type) { input: 'text', showCancelButton: true, confirmButtonText: 'OK', + showClass: { + popup: 'animate__animated animate__fadeInDown', + }, + hideClass: { + popup: 'animate__animated animate__fadeOutUp', + }, }).then((result) => { if (result.isConfirmed) { let wbCanvasImgURL = result.value; @@ -1522,6 +1528,12 @@ function whiteboardAddObj(type) { showDenyButton: true, confirmButtonText: `OK`, denyButtonText: `Cancel`, + showClass: { + popup: 'animate__animated animate__fadeInDown', + }, + hideClass: { + popup: 'animate__animated animate__fadeOutUp', + }, }).then((result) => { if (result.isConfirmed) { let wbCanvasImg = result.value; @@ -1550,6 +1562,12 @@ function whiteboardAddObj(type) { input: 'text', showCancelButton: true, confirmButtonText: 'OK', + showClass: { + popup: 'animate__animated animate__fadeInDown', + }, + hideClass: { + popup: 'animate__animated animate__fadeOutUp', + }, }).then((result) => { if (result.isConfirmed) { let wbCanvasText = result.value;