mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
SVGImporter: fix importing of visibility attribute.
This commit is contained in:
parent
f825969570
commit
9f3a0fc002
1 changed files with 1 additions and 1 deletions
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue