mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Add duplicate button for mobile view (#1146)
* Add a icon for dulplication * Add PanelComponent for duplication * Add duplicate button for mobile * Add styles for layout action buttons * Add a translation for 'Actions' * Show left action buttons only for desktop * Add duplicate button at the bottom of mobile It is provided depending on whether or not it is `multiElement` to maintain space between buttons.
This commit is contained in:
parent
e9f80d7c31
commit
86d0da5204
6 changed files with 49 additions and 7 deletions
|
@ -210,3 +210,9 @@ export const back = createIcon(
|
|||
512,
|
||||
{ marginLeft: "-0.2rem" },
|
||||
);
|
||||
|
||||
export const clone = createIcon(
|
||||
"M464 0c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48H176c-26.51 0-48-21.49-48-48V48c0-26.51 21.49-48 48-48h288M176 416c-44.112 0-80-35.888-80-80V128H48c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48v-48H176z",
|
||||
512,
|
||||
512,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue