mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-11-05 06:03:24 +01:00
update active 3d shape logic
This commit is contained in:
parent
5176277cc3
commit
e0c3e4488a
@ -99,7 +99,7 @@ export const determineActiveShape3d = (state) => {
|
|||||||
const selectedObjects = state.selection.objects.map(({ id }) => id);
|
const selectedObjects = state.selection.objects.map(({ id }) => id);
|
||||||
const activeShapes = {};
|
const activeShapes = {};
|
||||||
for (const id in state.objectsById) {
|
for (const id in state.objectsById) {
|
||||||
activeShapes[id] = activeTransformer;
|
activeShapes[id] = activeTransformer || state.d2.activeShape === id;
|
||||||
}
|
}
|
||||||
return activeShapes;
|
return activeShapes;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user