Skip to content

Commit 33670a3

Browse files
Update bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx
Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
1 parent ce1d6ee commit 33670a3

File tree

1 file changed

+1
-1
lines changed
  • bigbluebutton-html5/imports/ui/components/whiteboard

1 file changed

+1
-1
lines changed

bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ const Whiteboard = React.memo((props) => {
616616
return;
617617
}
618618

619-
if (event.keyCode === KEY_CODES.SPACE && tlEditorRef.current?.getCurrentToolId() !== 'hand' && isPresenterRef.current) {
619+
if (isPresenterRef.current && event.keyCode === KEY_CODES.SPACE && tlEditorRef.current?.getCurrentToolId() !== 'hand') {
620620
event.preventDefault();
621621
event.stopPropagation();
622622
previousTool.current = tlEditorRef.current?.getCurrentToolId();

0 commit comments

Comments
 (0)