change select / drag behavior
This commit is contained in:
parent
be8247c1a6
commit
a0c2f8ffae
3 changed files with 18 additions and 12 deletions
|
|
@ -865,7 +865,9 @@ function onMouseDown(event) {
|
|||
let selection = null,
|
||||
trackTo = alignedTracking ? trackPlane : platform,
|
||||
isVis = trackTo.visible;
|
||||
if (mouseDownSelect) selection = mouseDownSelect(undefined, event);
|
||||
if (mouseDownSelect) {
|
||||
selection = mouseDownSelect(undefined, event);
|
||||
}
|
||||
if (selection && selection.length > 0) {
|
||||
// selection = selection.map(o => o.isGroup ? o.children : o).flat();
|
||||
// console.log({ selection });
|
||||
|
|
|
|||
Loading…
Reference in a new issue