Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

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

fujimoto kyosuke6f13b5ac758e
diff --git a/src/actions/actionSelectAll.ts b/src/actions/actionSelectAll.ts
index 81d775e66f..7116702ec0 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(
{