Override default fillColor to 'black' in CharacterStyle.

This commit is contained in:
Jürg Lehni 2011-06-20 20:25:02 +01:00
parent 54964907dd
commit 937a9def77

View file

@ -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'