add sketch scaling, selection persistence
This commit is contained in:
parent
acc6f652c2
commit
ef0f4c3efd
4 changed files with 108 additions and 29 deletions
|
|
@ -876,6 +876,8 @@ gapp.register("moto.space", [], (root, exports) => {
|
|||
isVis = trackTo.visible;
|
||||
if (mouseDownSelect) selection = mouseDownSelect(undefined, event);
|
||||
if (selection && selection.length > 0) {
|
||||
// selection = selection.map(o => o.isGroup ? o.children : o).flat();
|
||||
// console.log({ selection });
|
||||
trackTo.visible = true;
|
||||
let int = intersect(selection.slice().append(trackTo), false);
|
||||
trackTo.visible = isVis;
|
||||
|
|
|
|||
Loading…
Reference in a new issue