Changes the fallback slider value to a safe one.

This commit is contained in:
Cody 2019-06-06 15:26:01 -04:00
parent 24f7323d04
commit e18947eed1
No known key found for this signature in database
GPG Key ID: 4953DADF9B6AD3C8

View File

@ -628,7 +628,7 @@ impl<'a> Widget for SettingsWindow<'a> {
FPS_CHOICES
.iter()
.position(|&x| x == self.global_state.settings.graphics.max_fps)
.unwrap_or(0),
.unwrap_or(5),
0,
10,
self.imgs.slider_indicator,