improve clipboard handling (#596)

* improve clipboard handling

* fix regression of not defocusing tool icons
This commit is contained in:
David Luzar
2020-01-27 22:14:35 +01:00
committed by GitHub
parent de68561df5
commit 26048ee469
4 changed files with 38 additions and 21 deletions

View File

@ -45,7 +45,7 @@ export interface ActionsManagerInterface {
event: KeyboardEvent,
elements: readonly ExcalidrawElement[],
appState: AppState,
) => ActionResult | {};
) => ActionResult | null;
getContextMenuItems: (
elements: readonly ExcalidrawElement[],
appState: AppState,