Browse Source

Fix status when do `selectAll` while editing lines (#1828)

fujimoto kyosuke 5 years ago
parent
commit
6f13b5ac75
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/actions/actionSelectAll.ts

+ 3 - 0
src/actions/actionSelectAll.ts

@@ -6,6 +6,9 @@ import { getNonDeletedElements } from "../element";
 export const actionSelectAll = register({
   name: "selectAll",
   perform: (elements, appState) => {
+    if (appState.editingLinearElement) {
+      return false;
+    }
     return {
       appState: selectGroupsForSelectedElements(
         {