Change: Add optional text labels to slider widget.

This commit is contained in:
Peter Nelson
2022-10-23 15:45:47 +01:00
committed by PeterN
parent f0ae111c4a
commit 123983743f
6 changed files with 29 additions and 11 deletions

View File

@@ -347,11 +347,11 @@ struct GameOptionsWindow : Window {
break;
case WID_GO_BASE_SFX_VOLUME:
DrawSliderWidget(r, 0, INT8_MAX, _settings_client.music.effect_vol);
DrawSliderWidget(r, 0, INT8_MAX, _settings_client.music.effect_vol, {});
break;
case WID_GO_BASE_MUSIC_VOLUME:
DrawSliderWidget(r, 0, INT8_MAX, _settings_client.music.music_vol);
DrawSliderWidget(r, 0, INT8_MAX, _settings_client.music.music_vol, {});
break;
}
}