Virtual whiteboard for sketching hand-drawn like diagrams
do not select deleted elements (#1215)
Daishi Kato44f871de710c
diff --git a/src/actions/actionSelectAll.ts b/src/actions/actionSelectAll.tsindex c5975abb5a..c996b4316d 100644--- a/src/actions/actionSelectAll.ts+++ b/src/actions/actionSelectAll.ts@@ -8,7 +8,9 @@ export const actionSelectAll = register({appState: {...appState,selectedElementIds: elements.reduce((map, element) => {- map[element.id] = true;+ if (!element.isDeleted) {+ map[element.id] = true;+ }return map;}, {} as any),},