fix default canvas text alignment

main
radex 2024-02-02 22:26:41 +01:00
parent 268bd63b77
commit f7f6464cdc
Signed by: radex
SSH Key Fingerprint: SHA256:hvqRXAGG1h89yqnS+cyFTLKQbzjWD4uXIqw7Y+0ws30
1 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ const dao = [
default: `<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='800' viewBox='0 0 1200 800'>
<g>
<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>
</svg>`,
private: true,
@ -123,7 +123,7 @@ const dao = [
private: true,
save: false
},
// system level fields
{
name: "darkmode",