Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #11512 from JosJuice/android-mem2-crash
Android: Fix crash when attempting to change MEM2 size
  • Loading branch information
AdmiralCurtiss committed Jan 30, 2023
2 parents 8edca20 + 00fdf1d commit 071ee3d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -300,7 +300,7 @@ public void onSliderClick(SliderSetting item, int position)
slider.setValue(mSeekbarProgress);

// Sliders can get frustrating to use with a small step size and large ranges
int maxRange = item.getMax();
int maxRange = item.getMax() - item.getMin();
if (maxRange <= 100)
{
slider.setStepSize(1);
Expand Down

0 comments on commit 071ee3d

Please sign in to comment.