Update select logic

This commit is contained in:
Philip Matsson
2024-07-29 17:00:09 +02:00
committed by Matthieu Baumann
parent 5410544404
commit ddfd5ead05

View File

@@ -644,11 +644,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) {