mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 06:00:56 -05:00
Fix newly introduced error in SVG export.
This commit is contained in:
parent
6896535663
commit
a4f922cf26
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ new function() {
|
|||
if (entry.exportFilter
|
||||
? entry.exportFilter(item, value)
|
||||
: !parent || !Base.equals(parent[get](), value)) {
|
||||
if (type === 'color' && value !== 'none') {
|
||||
if (type === 'color' && value != null) {
|
||||
// Support for css-style rgba() values is not in SVG 1.1, so
|
||||
// separate the alpha value of colors with alpha into the
|
||||
// separate fill- / stroke-opacity attribute:
|
||||
|
|
Loading…
Reference in a new issue