Skip to content

Commit

Permalink
Fix clipping
Browse files Browse the repository at this point in the history
  • Loading branch information
sjchmiela committed Oct 24, 2018
1 parent 0b3e07e commit 2baa152
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/src/main/java/com/horcrux/svg/VirtualView.java
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public void setResponsible(boolean responsible) {
ClipPathView mClipNode = (ClipPathView) getSvgView().getDefinedClipPath(mClipPath);

if (mClipNode != null) {
Path clipPath = mClipNode.getPath(canvas, paint, Region.Op.UNION);
Path clipPath = mClipNode.getPath(canvas, paint);
switch (mClipRule) {
case CLIP_RULE_EVENODD:
clipPath.setFillType(Path.FillType.EVEN_ODD);
Expand Down

0 comments on commit 2baa152

Please sign in to comment.