Bugfix keyboard min alpha

This commit is contained in:
Aaron Culliney 2016-05-06 20:38:18 -07:00
parent edaab3e110
commit 44b2e564d4

View File

@ -163,7 +163,7 @@ public class Apple2KeyboardSettingsMenu extends Apple2AbstractMenu {
return _sliderView(activity, this, Apple2Preferences.ALPHA_SLIDER_NUM_CHOICES, new IPreferenceSlider() {
@Override
public void saveInt(int progress) {
Apple2Preferences.setJSONPref(self, progress / Apple2Preferences.ALPHA_SLIDER_NUM_CHOICES);
Apple2Preferences.setJSONPref(self, (float) progress / Apple2Preferences.ALPHA_SLIDER_NUM_CHOICES);
}
@Override