mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Override default fillColor to 'black' in CharacterStyle.
This commit is contained in:
parent
54964907dd
commit
937a9def77
1 changed files with 4 additions and 2 deletions
|
@ -17,10 +17,12 @@
|
|||
var CharacterStyle = this.CharacterStyle = PathStyle.extend({
|
||||
/** @lends CharacterStyle# */
|
||||
|
||||
_defaults: Base.merge({
|
||||
_defaults: Base.merge(PathStyle.prototype._defaults, {
|
||||
// Override default fillColor of CharacterStyle
|
||||
fillColor: 'black',
|
||||
fontSize: 10,
|
||||
font: 'sans-serif'
|
||||
}, PathStyle.prototype._defaults),
|
||||
}),
|
||||
_owner: TextItem,
|
||||
_style: '_characterStyle'
|
||||
|
||||
|
|
Loading…
Reference in a new issue