SVGImporter: fix importing of visibility attribute.

This commit is contained in:
Jonathan Puckey 2012-11-06 18:12:55 +01:00
parent f825969570
commit 9f3a0fc002

View file

@ -298,7 +298,7 @@ var SvgImporter = this.SvgImporter = new function() {
item.setOpacity(parseFloat(value, 10));
break;
case 'visibility':
item.setVisibility(value === 'visible');
item.setVisible(value === 'visible');
break;
case 'font':
case 'font-family':