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

Commit 4806573

Browse files
committed
fix aa shapehint bug when shapeHint doesn't update when rrect -> non-rrect changed 2
1 parent 91cd837 commit 4806573

File tree

1 file changed

+2
-0
lines changed
  • Runtime/ui/renderer/common/geometry/path

1 file changed

+2
-0
lines changed

Runtime/ui/renderer/common/geometry/path/path.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ public override void clear() {
7878
this.needCache = false;
7979
this.pathKey = 0;
8080
this._isNaiveRRect = false;
81+
this._shapeHint = uiPathShapeHint.Other;
82+
this._rRectCorner = 0;
8183
}
8284

8385
void _reset() {

0 commit comments

Comments
 (0)