Skip to content

Commit 7f4bba3

Browse files
authored
Update SVGAVideoShapeEntity.kt
use set instead of addpath
1 parent ef2ad7b commit 7f4bba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/main/java/com/opensource/svgaplayer/SVGAVideoShapeEntity.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ class SVGAVideoShapeEntity {
283283
sharedPath.addRoundRect(RectF(x, y, x + width, y + height), cornerRadius, cornerRadius, Path.Direction.CW)
284284
}
285285
this.shapePath = Path()
286-
this.shapePath?.addPath(sharedPath)
286+
this.shapePath?.set(sharedPath)
287287
}
288288

289289
}

0 commit comments

Comments
 (0)