Skip to content

Commit

Permalink
Merge pull request #32 from AAkira/fix/wrap-content
Browse files Browse the repository at this point in the history
Bug fix #31
  • Loading branch information
AAkira committed Dec 8, 2015
2 parents fed3ca5 + af12edf commit 2ac2d4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
}
childPositionList.add(sumSize + childSize + childMargin);
}
layoutSize = getCurrentPosition();
layoutSize = childPositionList.get(childPositionList.size() - 1);

if (0 < layoutSize) {
isCalculatedSize = true;
Expand Down

0 comments on commit 2ac2d4a

Please sign in to comment.