diff --git a/src/components/App.tsx b/src/components/App.tsx index 27a6041b..64c9a27c 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -1679,9 +1679,11 @@ class App extends React.Component { ? ELEMENT_SHIFT_TRANSLATE_AMOUNT : ELEMENT_TRANSLATE_AMOUNT); - const selectedElements = this.scene - .getElements() - .filter((element) => this.state.selectedElementIds[element.id]); + const selectedElements = getSelectedElements( + this.scene.getElements(), + this.state, + true, + ); let offsetX = 0; let offsetY = 0;