Skip to content
Snippets Groups Projects
Commit 649f7bbc authored by Maximilian Giller's avatar Maximilian Giller
Browse files

More intuitive controlls

parent 66658f6c
Branches
Tags
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment