File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
webf/lib/src/svg/rendering Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ abstract class RenderSVGShape extends RenderBoxModel {
109109 var element = renderStyle.target as SVGElement ;
110110 dynamic fillAttr = element.attributeStyle['fill' ] ?? findRoot ()? .element.attributeStyle['fill' ];
111111 dynamic clipPathAttr = element.attributeStyle['clipPath' ] ?? findRoot ()? .element.attributeStyle['clipPath' ];
112- if (fillAttr == null && clipPathAttr == null ) return null ;
112+ if (fillAttr == null && clipPathAttr == null ) return ;
113113
114114 NodeList ? nodeList = element.findRoot ()? .childNodes;
115115 if (nodeList != null ) {
@@ -126,7 +126,6 @@ abstract class RenderSVGShape extends RenderBoxModel {
126126 }
127127 }
128128 }
129- return null ;
130129 }
131130
132131 Shader ? _shader;
You can’t perform that action at this time.
0 commit comments