We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bef29c4 commit 0eeb9f9Copy full SHA for 0eeb9f9
1 file changed
menu/menu_setting.c
@@ -1083,8 +1083,9 @@ static int setting_fraction_action_left_default(
1083
1084
if (setting->flags & SD_FLAG_ENFORCE_MINRANGE)
1085
{
1086
- float min = setting->min;
1087
- if (*setting->value.target.fraction < min)
+ float min = setting->min;
+ float half_step = setting->step * 0.5f;
1088
+ if (*setting->value.target.fraction < min - half_step)
1089
1090
settings_t *settings = config_get_ptr();
1091
float max = setting->max;
0 commit comments