Sfoglia il codice sorgente

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

fujimoto kyosuke 5 anni fa
parent
commit
6f13b5ac75
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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(
         {