feat: support selecting multiple points when editing line (#4373)

This commit is contained in:
David Luzar 2021-12-13 13:35:07 +01:00 committed by GitHub
parent c822055ec8
commit 104664cb9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 614 additions and 223 deletions

View file

@ -354,6 +354,7 @@ export type PointerDownState = Readonly<{
// pointer interaction
hasBeenDuplicated: boolean;
hasHitCommonBoundingBoxOfSelectedElements: boolean;
hasHitElementInside: boolean;
};
withCmdOrCtrl: boolean;
drag: {
@ -373,6 +374,9 @@ export type PointerDownState = Readonly<{
// It's defined on the initial pointer down event
onKeyUp: null | ((event: KeyboardEvent) => void);
};
boxSelection: {
hasOccurred: boolean;
};
}>;
export type ExcalidrawImperativeAPI = {