diff --git a/stepview/src/main/java/com/shuhart/stepview/StepView.java b/stepview/src/main/java/com/shuhart/stepview/StepView.java index 9988a45..6bd1100 100644 --- a/stepview/src/main/java/com/shuhart/stepview/StepView.java +++ b/stepview/src/main/java/com/shuhart/stepview/StepView.java @@ -271,7 +271,7 @@ public State getState() { } public void go(int step, boolean animate) { - if (step >= START_STEP && step < getStepCount()) { + if (step >= START_STEP && step <= getStepCount()) { if (animate && animationType != ANIMATION_NONE && startLinesX != null) { if (Math.abs(step - currentStep) > 1) { endAnimation();