Commit fc3e301c authored by Romain Loth's avatar Romain Loth

selection without overlap behavior used for any circle selection

parent 6e3a7c01
...@@ -68,13 +68,13 @@ function SelectionEngine() { ...@@ -68,13 +68,13 @@ function SelectionEngine() {
return args.currsels.indexOf(item) < 0; return args.currsels.indexOf(item) < 0;
})); }));
} }
// meso view default: deselect if overlap // circle select default: deselect if overlap
else if (! TW.SystemState().level) { else if (TW.gui.circleSize) {
targeted = args.currsels.filter(function (item) { targeted = args.currsels.filter(function (item) {
return args.prevsels.indexOf(item) < 0; return args.prevsels.indexOf(item) < 0;
}); });
} }
// macro view default: only new targets // other view default: only new targets
else { else {
targeted = args.currsels; targeted = args.currsels;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment