Redesign idea (#343)

* Redisign idea

* Code cleanup

* Fixed to right container

* Reoredered layout

* Reordering panels

* Export dialog

* Removed redunant code

* Fixed not removing temp canvas

* Fixed preview not using only selected elements

* Returned file name on export

* Toggle export selected/all elements

* Hide copy to clipboard button if no support of clipboard

* Added border to swatches

* Fixed modal flickering
This commit is contained in:
Timur Khazamov
2020-01-15 20:42:02 +05:00
committed by Christopher Chedeau
parent 8104c8525d
commit 79aee53ff6
37 changed files with 1043 additions and 746 deletions

View File

@ -52,7 +52,7 @@ export interface ActionsManagerInterface {
) => { label: string; action: () => void }[];
renderAction: (
name: string,
elements: ExcalidrawElement[],
elements: readonly ExcalidrawElement[],
appState: AppState,
updater: UpdaterFn
) => React.ReactElement | null;