Skip to content

Commit

Permalink
small fix to imageFilter (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
jafu888 committed Mar 24, 2021
1 parent 36431aa commit ca3606d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -151,6 +151,7 @@ private void init(Context context, AttributeSet attrs) {
}
a.recycle();

mDrawable = getDrawable();
if (mAltDrawable != null && mDrawable != null) {

mLayers[0] = mDrawable = getDrawable().mutate();
Expand Down
Expand Up @@ -535,6 +535,7 @@ private void init(Context context, AttributeSet attrs) {
}
a.recycle();

mDrawable = getDrawable();
if (mAltDrawable != null && mDrawable != null) {

mLayers[0] = mDrawable = getDrawable().mutate();
Expand Down

0 comments on commit ca3606d

Please sign in to comment.