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'> 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",