change select / drag behavior

This commit is contained in:
Stewart Allen 2025-06-15 01:49:45 -04:00
commit a0c2f8ffae
3 changed files with 18 additions and 12 deletions

View file

@ -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 });