From 5a771b828178432bb2e4d906f1cecd88154c9104 Mon Sep 17 00:00:00 2001 From: Ramon Souza Date: Wed, 5 May 2021 15:59:16 -0300 Subject: [PATCH] fix toolbar crash --- .../ui/components/whiteboard/whiteboard-toolbar/component.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-toolbar/component.jsx b/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-toolbar/component.jsx index 432c53e23f..ed65d82bd9 100755 --- a/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-toolbar/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/whiteboard/whiteboard-toolbar/component.jsx @@ -313,8 +313,8 @@ class WhiteboardToolbar extends Component { } // 1st case a) this.colorListIconColor.beginElement(); - // 2nd case - never happens when the text tool is selected - } else if (thicknessSelected.value !== prevState.thicknessSelected.value) { + // 2nd case + } else if (thicknessSelected.value !== prevState.thicknessSelected.value && annotationSelected.value !== 'text') { this.thicknessListIconRadius.beginElement(); // 3rd case } else if (annotationSelected.value !== 'text'