From 9f3a0fc002bd263b0718a0ef8ad3c9de4fdec18e Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Tue, 6 Nov 2012 18:12:55 +0100 Subject: [PATCH] SVGImporter: fix importing of visibility attribute. --- src/svg/SvgImporter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/svg/SvgImporter.js b/src/svg/SvgImporter.js index 4189620b..1bc7a83d 100644 --- a/src/svg/SvgImporter.js +++ b/src/svg/SvgImporter.js @@ -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':