diff --git a/library/src/main/java/com/shawnlin/numberpicker/NumberPicker.java b/library/src/main/java/com/shawnlin/numberpicker/NumberPicker.java index c4da52c..c320fea 100644 --- a/library/src/main/java/com/shawnlin/numberpicker/NumberPicker.java +++ b/library/src/main/java/com/shawnlin/numberpicker/NumberPicker.java @@ -1627,7 +1627,8 @@ public void setMinValue(int minValue) { if (mMinValue > mValue) { mValue = mMinValue; } - setWrapSelectorWheel(isWrappingAllowed()); + + updateWrapSelectorWheel(); initializeSelectorWheelIndices(); updateInputTextView(); tryComputeMaxWidth();