fix default canvas text alignment
parent
268bd63b77
commit
f7f6464cdc
|
@ -63,7 +63,7 @@ const dao = [
|
||||||
default: `<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='800' viewBox='0 0 1200 800'>
|
default: `<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='800' viewBox='0 0 1200 800'>
|
||||||
<g>
|
<g>
|
||||||
<title>Layer 1</title>
|
<title>Layer 1</title>
|
||||||
<text font-weight="normal" font-style="normal" stroke="#000" xml:space="preserve" text-anchor="center" font-family="'Open Sans'" font-size="84" id="svg_1" y="120" x="80" stroke-width="0" fill="#000000">Sample text</text>
|
<text font-weight="normal" font-style="normal" stroke="#000" xml:space="preserve" text-anchor="start" font-family="'Open Sans'" font-size="84" id="svg_1" y="120" x="80" stroke-width="0" fill="#000000">Sample text</text>
|
||||||
</g>
|
</g>
|
||||||
</svg>`,
|
</svg>`,
|
||||||
private: true,
|
private: true,
|
||||||
|
@ -123,7 +123,7 @@ const dao = [
|
||||||
private: true,
|
private: true,
|
||||||
save: false
|
save: false
|
||||||
},
|
},
|
||||||
|
|
||||||
// system level fields
|
// system level fields
|
||||||
{
|
{
|
||||||
name: "darkmode",
|
name: "darkmode",
|
||||||
|
|
Loading…
Reference in New Issue