Change order of Text and Line (#435)

This commit is contained in:
Lipis 2020-01-18 01:55:13 +02:00 committed by Christopher Chedeau
parent 6859e11ab7
commit 61d5615a81
2 changed files with 10 additions and 10 deletions

2
package-lock.json generated
View File

@ -1,5 +1,5 @@
{ {
"name": "react", "name": "excalidraw",
"version": "1.0.0", "version": "1.0.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,

View File

@ -47,15 +47,6 @@ export const SHAPES = [
), ),
value: "arrow" value: "arrow"
}, },
{
icon: (
// fa-font
<svg viewBox="0 0 448 512">
<path d="M432 416h-23.41L277.88 53.69A32 32 0 0 0 247.58 32h-47.16a32 32 0 0 0-30.3 21.69L39.41 416H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16h-19.58l23.3-64h152.56l23.3 64H304a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM176.85 272L224 142.51 271.15 272z" />
</svg>
),
value: "text"
},
{ {
icon: ( icon: (
// custom // custom
@ -64,6 +55,15 @@ export const SHAPES = [
</svg> </svg>
), ),
value: "line" value: "line"
},
{
icon: (
// fa-font
<svg viewBox="0 0 448 512">
<path d="M432 416h-23.41L277.88 53.69A32 32 0 0 0 247.58 32h-47.16a32 32 0 0 0-30.3 21.69L39.41 416H16a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16h-19.58l23.3-64h152.56l23.3 64H304a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h128a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM176.85 272L224 142.51 271.15 272z" />
</svg>
),
value: "text"
} }
]; ];