diff --git a/editor/js/tools/selecttool.js b/editor/js/tools/selecttool.js index c50a7263253525bb0680f66f54eefe9132e01240..24b518f1c77515666039d381ecab15d3fe06c731 100644 --- a/editor/js/tools/selecttool.js +++ b/editor/js/tools/selecttool.js @@ -11,6 +11,10 @@ class SelectTool extends Tool { state.setSelectedItem(link); } + onBackgroundClick(event, positions) { + state.setSelectedItem(undefined); + } + onKeyDown(key) { if (key.keyCode === 17) { state.setTool(TOOLS.collect);