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

This commit is contained in:
fujimoto kyosuke 2020-07-08 17:29:47 +09:00 committed by GitHub
parent df5eb3f0d9
commit 6f13b5ac75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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