From 6f13b5ac758eba866787c18c2d9d1829bfa52417 Mon Sep 17 00:00:00 2001 From: fujimoto kyosuke <31386431+lusingander@users.noreply.github.com> Date: Wed, 8 Jul 2020 17:29:47 +0900 Subject: [PATCH] Fix status when do `selectAll` while editing lines (#1828) --- src/actions/actionSelectAll.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/actions/actionSelectAll.ts b/src/actions/actionSelectAll.ts index 81d775e6..7116702e 100644 --- a/src/actions/actionSelectAll.ts +++ b/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( {