mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Remove || ''
This commit is contained in:
parent
26868e4cab
commit
df08aa10c1
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ new function() {
|
|||
text.setContent(' '); // No content results in 0 height
|
||||
text.translate(0, text.bounds.height);
|
||||
}
|
||||
text.setContent(lines.join('\n') || '');
|
||||
text.setContent(lines.join('\n'));
|
||||
return text;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue