diff --git a/imagepicker/src/main/java/me/jfenn/colorpickerdialog/views/picker/ImageColorPickerView.java b/imagepicker/src/main/java/me/jfenn/colorpickerdialog/views/picker/ImageColorPickerView.java index c7c6ac4..4194121 100644 --- a/imagepicker/src/main/java/me/jfenn/colorpickerdialog/views/picker/ImageColorPickerView.java +++ b/imagepicker/src/main/java/me/jfenn/colorpickerdialog/views/picker/ImageColorPickerView.java @@ -223,7 +223,7 @@ public void draw(Canvas canvas) { Path path = new Path(); path.addCircle(this.x.val(),this.y.val(), circleWidth, Path.Direction.CCW); canvas.clipPath(path); - Rect srcRect=new Rect(x-2, y-2, x+3, y+3); + Rect srcRect=new Rect(x-14, y-14, x+15, y+15); Rect destRect=new Rect(this.x.val()-circleWidth,this.y.val()-circleWidth , this.x.val()+circleWidth, this.y.val()+circleWidth ); canvas.drawBitmap(bitmap, srcRect, destRect, null); canvas.drawCircle(this.x.val(), this.y.val(), 15, strokeInnerPaint);