Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauzy committed Aug 23, 2017
1 parent 51b949c commit 5bce8fe
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,12 @@ protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
case MeasureSpec.UNSPECIFIED:
break;
}
}

@Override
protected void onSizeChanged(int w, int h, int oldw, int oldh) {
super.onSizeChanged(w, h, oldw, oldh);
mWidth = mHeight = w;
initValue();
}

Expand Down

0 comments on commit 5bce8fe

Please sign in to comment.