mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-15 17:29:52 -04:00
SVG Importer: remove handling of default value for path fill color for now.
This commit is contained in:
parent
56c90839ab
commit
126a631200
1 changed files with 0 additions and 3 deletions
|
@ -350,9 +350,6 @@ new function() {
|
||||||
var name = svg.style[i];
|
var name = svg.style[i];
|
||||||
item = applyAttribute(item, svg, name, svg.style[Base.camelize(name)]);
|
item = applyAttribute(item, svg, name, svg.style[Base.camelize(name)]);
|
||||||
}
|
}
|
||||||
// Path items receive a black fill color by default:
|
|
||||||
if (item instanceof Path && !item.getFillColor())
|
|
||||||
item.setFillColor(new GrayColor(1));
|
|
||||||
for (var i = 0, l = svg.attributes.length; i < l; i++) {
|
for (var i = 0, l = svg.attributes.length; i < l; i++) {
|
||||||
var attr = svg.attributes[i];
|
var attr = svg.attributes[i];
|
||||||
item = applyAttribute(item, svg, attr.name, attr.value);
|
item = applyAttribute(item, svg, attr.name, attr.value);
|
||||||
|
|
Loading…
Reference in a new issue