From 428ffe80f802b1d6e5dbac05ddae2304b6b47b5b Mon Sep 17 00:00:00 2001 From: Nicola <47360416+unsettledgames@users.noreply.github.com> Date: Sat, 29 Jan 2022 21:36:25 +0100 Subject: [PATCH] Fixed #82 --- js/ToolManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ToolManager.js b/js/ToolManager.js index a48f169..15867bf 100644 --- a/js/ToolManager.js +++ b/js/ToolManager.js @@ -116,7 +116,7 @@ const ToolManager = (() => { } function onMouseUp(mouseEvent) { - if (!EditorState.documentCreated()) + if (!EditorState.documentCreated || Dialogue.isOpen()) return; let mousePos = Input.getCursorPosition(mouseEvent);