mirror of
https://github.com/Tencent/QMUI_Android.git
synced 2026-10-26 17:59:34 +08:00
bugfix: qmui_radius QMUIRoundButton in not work after version 1.0.4 #125
This commit is contained in:
@@ -138,6 +138,9 @@ public class QMUIRoundButtonDrawable extends GradientDrawable {
|
||||
isRadiusAdjustBounds = false;
|
||||
} else {
|
||||
bg.setCornerRadius(mRadius);
|
||||
if(mRadius > 0){
|
||||
isRadiusAdjustBounds = false;
|
||||
}
|
||||
}
|
||||
bg.setIsRadiusAdjustBounds(isRadiusAdjustBounds);
|
||||
return bg;
|
||||
|
||||
Reference in New Issue
Block a user