Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit 3e9b6cd

Browse files
committed
merge bug fix
1 parent 5aae785 commit 3e9b6cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Runtime/ui/renderer/cmdbufferCanvas/rendering/canvas_shadow_utils.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ void _drawRRectShadow(uiPath path, uiPaint paint) {
1212

1313
var cache = path.flatten(state.scale * this._devicePixelRatio);
1414
bool convex;
15-
var fillMesh = cache.getFillMesh(out convex);
15+
16+
cache.computeFillMesh(this._fringeWidth, out convex);
17+
var fillMesh = cache.fillMesh;
1618
var meshBounds = fillMesh.transform(state.matrix);
1719
var clipBounds = layer.layerBounds;
1820

0 commit comments

Comments
 (0)