Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Commit

Permalink
Fix crash #15
Browse files Browse the repository at this point in the history
  • Loading branch information
badoualy committed Aug 12, 2016
1 parent 1964bf6 commit eab13d1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,6 @@ protected void onSizeChanged(int w, int h, int oldw, int oldh) {
}

private void compute() {
computeStepsClickAreas(); // update the position of the steps click area also

indicators = new float[stepCount];
linePathList.clear();

Expand All @@ -274,6 +272,8 @@ private void compute() {
linePath.lineTo(position + lineLength, getMeasuredHeight() / 2);
linePathList.add(linePath);
}

computeStepsClickAreas(); // update the position of the steps click area also
}

/**
Expand Down

0 comments on commit eab13d1

Please sign in to comment.