Sfoglia il codice sorgente

Add visibility SVG attribute

Maciek Jurczyk 5 anni fa
parent
commit
908f0edf00
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      examples/js/loaders/SVGLoader.js

+ 1 - 0
examples/js/loaders/SVGLoader.js

@@ -884,6 +884,7 @@ THREE.SVGLoader.prototype = Object.assign( Object.create( THREE.Loader.prototype
 			addStyle( 'stroke-linejoin', 'strokeLineJoin' );
 			addStyle( 'stroke-linejoin', 'strokeLineJoin' );
 			addStyle( 'stroke-linecap', 'strokeLineCap' );
 			addStyle( 'stroke-linecap', 'strokeLineCap' );
 			addStyle( 'stroke-miterlimit', 'strokeMiterLimit', positive );
 			addStyle( 'stroke-miterlimit', 'strokeMiterLimit', positive );
+			addStyle( 'visibility', 'visibility' );
 
 
 			return style;
 			return style;
 
 

粤ICP备19079148号