Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc3a5b9

Browse files
author
csnowstack
committed
修复BUG
1 parent 80db139 commit bc3a5b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

loadingbutton/src/main/java/com/cq/loadingbutton/LoadingButton.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ private void drawTxt(Canvas canvas) {
311311
private void drawBG(Canvas canvas) {
312312
canvas.drawArc(new RectF(mMoveWidth, 0, 2 * mRadius + mMoveWidth, mHeight), 90, 180, false, mPaintBg);
313313
canvas.drawRect(new RectF(mRadius + mMoveWidth, 0, mWidth - mRadius - mMoveWidth, mHeight), mPaintBg);
314-
canvas.drawArc(new RectF(mWidth - 2 * mRadius - mMoveWidth, 0, mWidth - mMoveWidth, mHeight), 180, 270, false, mPaintBg);
314+
canvas.drawArc(new RectF(mWidth - 2 * mRadius - mMoveWidth, 0, mWidth - mMoveWidth, mHeight), 270,180, false, mPaintBg);
315315
}
316316

317317
//两边向中间移动的动画

0 commit comments

Comments
 (0)