Kaynağa Gözat

Restore missing fill-rule (#22511) (#22597)

qeeqez 4 yıl önce
ebeveyn
işleme
7de6e2976b
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      examples/jsm/loaders/SVGLoader.js

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

@@ -1007,6 +1007,7 @@ class SVGLoader extends Loader {
 
 			addStyle( 'fill', 'fill' );
 			addStyle( 'fill-opacity', 'fillOpacity', clamp );
+			addStyle( 'fill-rule', 'fillRule' );
 			addStyle( 'opacity', 'opacity', clamp );
 			addStyle( 'stroke', 'stroke' );
 			addStyle( 'stroke-opacity', 'strokeOpacity', clamp );