Update select logic

This commit is contained in:
Philip Matsson
2024-07-29 17:00:09 +02:00
parent 81e1eaddee
commit d3e0bb4fbc

View File

@@ -642,11 +642,13 @@ export let View = (function () {
footprintClickedFunction(o, xy);
}
}
}
// rewrite objs
objs = Array.from(Object.values(objsByCats));
//view.selectObjects([objs]);
view.lastClickedObject = objs;
} else {
// If there is a past clicked object
if (view.lastClickedObject) {