mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
No need to set default color anymore due to detection of CSS style changes on any level.
This commit is contained in:
parent
30c96dc9c1
commit
785381b148
1 changed files with 0 additions and 2 deletions
|
@ -78,8 +78,6 @@ new function() {
|
||||||
project = item._project,
|
project = item._project,
|
||||||
currentStyle = project._currentStyle,
|
currentStyle = project._currentStyle,
|
||||||
children = [];
|
children = [];
|
||||||
// Set the default color to black, since that's how SVG handles fills.
|
|
||||||
item.setFillColor('black');
|
|
||||||
if (!clip) {
|
if (!clip) {
|
||||||
// Have the group not pass on all transformations to its children,
|
// Have the group not pass on all transformations to its children,
|
||||||
// as this is how SVG works too.
|
// as this is how SVG works too.
|
||||||
|
|
Loading…
Reference in a new issue