mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 06:00:56 -05:00
Use <span> for text components so they can have a suffix as well.
This commit is contained in:
parent
ca730cd76e
commit
689e150bb7
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ var Component = Base.extend(Callback, /** @lends Component# */{
|
|||
},
|
||||
|
||||
text: {
|
||||
tag: 'div',
|
||||
tag: 'span',
|
||||
// This will return the native textContent through DomElement.get():
|
||||
value: 'text'
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue