Explorar o código

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

fujimoto kyosuke %!s(int64=5) %!d(string=hai) anos
pai
achega
6f13b5ac75
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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(
         {