mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 06:00:56 -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({
|
var CharacterStyle = this.CharacterStyle = PathStyle.extend({
|
||||||
/** @lends CharacterStyle# */
|
/** @lends CharacterStyle# */
|
||||||
|
|
||||||
_defaults: Base.merge({
|
_defaults: Base.merge(PathStyle.prototype._defaults, {
|
||||||
|
// Override default fillColor of CharacterStyle
|
||||||
|
fillColor: 'black',
|
||||||
fontSize: 10,
|
fontSize: 10,
|
||||||
font: 'sans-serif'
|
font: 'sans-serif'
|
||||||
}, PathStyle.prototype._defaults),
|
}),
|
||||||
_owner: TextItem,
|
_owner: TextItem,
|
||||||
_style: '_characterStyle'
|
_style: '_characterStyle'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue