Fix newly introduced error in SVG export.

This commit is contained in:
Jürg Lehni 2014-05-13 13:52:20 +02:00
parent 6896535663
commit a4f922cf26

View file

@ -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: