fix force panning
This commit is contained in:
parent
5b0a0d7cf6
commit
b3754570ed
@ -897,7 +897,7 @@ export default function Whiteboard(props) {
|
|||||||
const webcams = document.getElementById('cameraDock');
|
const webcams = document.getElementById('cameraDock');
|
||||||
const dockPos = webcams?.getAttribute('data-position');
|
const dockPos = webcams?.getAttribute('data-position');
|
||||||
|
|
||||||
if (currentTool && !isPanning) tldrawAPI?.selectTool(currentTool);
|
if (currentTool && !isPanning && !tldrawAPI?.isForcePanning) tldrawAPI?.selectTool(currentTool);
|
||||||
|
|
||||||
const editableWB = (
|
const editableWB = (
|
||||||
<Styled.EditableWBWrapper onKeyDown={handleOnKeyDown}>
|
<Styled.EditableWBWrapper onKeyDown={handleOnKeyDown}>
|
||||||
|
Loading…
Reference in New Issue
Block a user