mirror of
https://github.com/scratchfoundation/scratch-svg-renderer.git
synced 2024-11-14 19:25:41 -05:00
Use 18 instead of 14 when the font size is missing
This commit is contained in:
parent
5f15b961a0
commit
58095a50c8
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ class SvgRenderer {
|
|||
textElement.setAttribute('alignment-baseline', 'text-before-edge');
|
||||
// If there's no font size provided, provide one.
|
||||
if (!textElement.getAttribute('font-size')) {
|
||||
textElement.setAttribute('font-size', '14');
|
||||
textElement.setAttribute('font-size', '18');
|
||||
}
|
||||
// If there's no font-family provided, provide one.
|
||||
if (!textElement.getAttribute('font-family')) {
|
||||
|
|
Loading…
Reference in a new issue