[go: nahoru, domu]

Skip to content

Commit

Permalink
Tweak border drawing condition
Browse files Browse the repository at this point in the history
  • Loading branch information
hdodenhof committed May 16, 2016
1 parent 7b9e2fc commit f98b11c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ protected void onDraw(Canvas canvas) {
canvas.drawCircle(mDrawableRect.centerX(), mDrawableRect.centerY(), mDrawableRadius, mFillPaint);
}
canvas.drawCircle(mDrawableRect.centerX(), mDrawableRect.centerY(), mDrawableRadius, mBitmapPaint);
if (mBorderWidth != 0) {
if (mBorderWidth > 0) {
canvas.drawCircle(mBorderRect.centerX(), mBorderRect.centerY(), mBorderRadius, mBorderPaint);
}
}
Expand Down

0 comments on commit f98b11c

Please sign in to comment.