Skip to content

Commit 2e7e1bf

Browse files
committed
fix overlay
1 parent c454492 commit 2e7e1bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cropper/src/main/java/com/theartofdev/edmodo/cropper/CropOverlayView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ private void drawBackground(Canvas canvas) {
639639
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
640640
canvas.clipOutPath(mPath);
641641
} else {
642-
canvas.clipPath(mPath, Region.Op.INTERSECT);
642+
canvas.clipPath(mPath, Region.Op.XOR);
643643
}
644644
canvas.drawRect(left, top, right, bottom, mBackgroundPaint);
645645
canvas.restore();

0 commit comments

Comments
 (0)