This commit is contained in:
Nicola 2022-01-29 21:36:25 +01:00
parent b616579c65
commit 428ffe80f8

View File

@ -116,7 +116,7 @@ const ToolManager = (() => {
} }
function onMouseUp(mouseEvent) { function onMouseUp(mouseEvent) {
if (!EditorState.documentCreated()) if (!EditorState.documentCreated || Dialogue.isOpen())
return; return;
let mousePos = Input.getCursorPosition(mouseEvent); let mousePos = Input.getCursorPosition(mouseEvent);