mirror of
https://github.com/lospec/pixel-editor.git
synced 2023-08-10 21:12:51 +03:00
Fixed #82
This commit is contained in:
parent
b616579c65
commit
428ffe80f8
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user