Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f745b50 + 2ef8584 commit d6eac46Copy full SHA for d6eac46
library-core/src/main/java/com/mikepenz/iconics/IconicsDrawable.java
@@ -1090,7 +1090,9 @@ public void draw(@NonNull Canvas canvas) {
1090
}
1091
1092
1093
- mPath.close();
+ if (!mPath.isEmpty()) {
1094
+ mPath.close();
1095
+ }
1096
1097
if (mDrawContour) {
1098
canvas.drawPath(mPath, mContourPaint);
@@ -1127,7 +1129,9 @@ public void setTintMode(@NonNull PorterDuff.Mode tintMode) {
1127
1129
@Override
1128
1130
protected void onBoundsChange(Rect bounds) {
1131
offsetIcon(bounds);
1132
1133
1134
1135
super.onBoundsChange(bounds);
1136
1137
0 commit comments