update visible point indexes when zooming

This commit is contained in:
Aakansha Doshi 2022-08-26 20:49:50 +05:30
parent bff2f9178d
commit 189a557ed6
4 changed files with 56 additions and 11 deletions

View file

@ -35,7 +35,7 @@ export const actionSelectAll = register({
// single linear element selected
Object.keys(selectedElementIds).length === 1 &&
isLinearElement(elements[0])
? new LinearElementEditor(elements[0], app.scene)
? new LinearElementEditor(elements[0], app.scene, appState)
: null,
editingGroupId: null,
selectedElementIds,