Clear grouping selection when drop tool

This commit is contained in:
David Rowe 2017-08-02 14:45:19 +12:00
parent 26a14d0934
commit 53d755d8da

View file

@ -790,6 +790,7 @@
function updateTool() {
if (!wasGripClicked && isGripClicked && (toolSelected !== TOOL_NONE)) {
toolSelected = TOOL_NONE;
grouping.clear();
ui.clearToolIcon();
}
}
@ -1151,6 +1152,7 @@
function clear() {
groups.clear();
highlights.clear();
}
function destroy() {