Use Color object for default.

This commit is contained in:
Jürg Lehni 2013-04-19 19:39:05 -07:00
parent 53dac53ca0
commit f51dc65cca
2 changed files with 2 additions and 2 deletions

View file

@ -84,10 +84,10 @@ var paper = new function() {
/*#*/ include('text/TextItem.js');
/*#*/ include('text/PointText.js');
/*#*/ include('style/Style.js');
/*#*/ include('style/Color.js');
/*#*/ include('style/Gradient.js');
/*#*/ include('style/GradientStop.js');
/*#*/ include('style/Style.js');
/*#*/ if (options.browser) {
/*#*/ include('browser/DomElement.js');

View file

@ -84,7 +84,7 @@ var Style = this.Style = Base.extend(new function() {
_defaults: defaults,
// Override default fillColor for text items
_textDefaults: Base.merge(defaults, {
fillColor: 'black'
fillColor: new Color() // black
})
};