mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 06:00:56 -05:00
No need to pass false for allowNull as it's the default.
This commit is contained in:
parent
6d751fc466
commit
19f50be897
1 changed files with 2 additions and 2 deletions
|
@ -267,8 +267,8 @@ new function() {
|
|||
// TODO: Support for these is missing in Paper.js right now
|
||||
// rotate: character rotation
|
||||
// lengthAdjust:
|
||||
var text = new PointText(getPoint(node, 'x', 'y', false)
|
||||
.add(getPoint(node, 'dx', 'dy', false)));
|
||||
var text = new PointText(getPoint(node, 'x', 'y')
|
||||
.add(getPoint(node, 'dx', 'dy')));
|
||||
text.setContent(node.textContent.trim() || '');
|
||||
return text;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue