From 96eb11e44620d24d72b548cf87dba617b4f1b859 Mon Sep 17 00:00:00 2001 From: argestes Date: Tue, 16 May 2017 17:47:25 +0300 Subject: [PATCH] Enable changing transparent radius using interface --- .../github/amlcurran/showcaseview/MaterialShowcaseDrawer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/java/com/github/amlcurran/showcaseview/MaterialShowcaseDrawer.java b/library/src/main/java/com/github/amlcurran/showcaseview/MaterialShowcaseDrawer.java index 8b6680113..9222a90ef 100644 --- a/library/src/main/java/com/github/amlcurran/showcaseview/MaterialShowcaseDrawer.java +++ b/library/src/main/java/com/github/amlcurran/showcaseview/MaterialShowcaseDrawer.java @@ -32,7 +32,7 @@ public void setShowcaseColour(int color) { @Override public void drawShowcase(Bitmap buffer, float x, float y, float scaleMultiplier) { Canvas bufferCanvas = new Canvas(buffer); - bufferCanvas.drawCircle(x, y, radius, eraserPaint); + bufferCanvas.drawCircle(x, y, getBlockedRadius(), eraserPaint); } @Override