Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shehuan committed Jul 19, 2018
1 parent a3666d6 commit 1bf0eb2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ allprojects {
**Step 2. 添加项目依赖**
``` gradle
dependencies {
implementation 'com.github.Othershe:NiceImageView:1.0.0'
implementation 'com.github.Othershe:NiceImageView:1.0.1'
}
```
**Step 3. 在布局文件中添加CornerLabelView**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ public NiceImageView(Context context, @Nullable AttributeSet attrs, int defStyle
borderRectF = new RectF();
srcRectF = new RectF();

setScaleType(ScaleType.FIT_XY);
xfermode = new PorterDuffXfermode(PorterDuff.Mode.DST_IN);

calculateRadii();
Expand Down

0 comments on commit 1bf0eb2

Please sign in to comment.