Browse Source

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

qeeqez 3 năm trước cách đây
mục cha
commit
7de6e2976b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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 );