mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-04 03:45:58 -05:00
Use Color object for default.
This commit is contained in:
parent
53dac53ca0
commit
f51dc65cca
2 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
|
|
|
@ -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
|
||||
})
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue