From b3754570ed9a7ca23ed25f82f2fb340c3d468230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ram=C3=B3n=20Souza?= Date: Mon, 27 Mar 2023 10:38:05 -0300 Subject: [PATCH] fix force panning --- .../imports/ui/components/whiteboard/component.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx b/bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx index e612e34c78..f4484a0de4 100644 --- a/bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/whiteboard/component.jsx @@ -897,7 +897,7 @@ export default function Whiteboard(props) { const webcams = document.getElementById('cameraDock'); const dockPos = webcams?.getAttribute('data-position'); - if (currentTool && !isPanning) tldrawAPI?.selectTool(currentTool); + if (currentTool && !isPanning && !tldrawAPI?.isForcePanning) tldrawAPI?.selectTool(currentTool); const editableWB = (