Use 2 decimal places for volume sliders, since they move in 0.05 increments

This commit is contained in:
Randy Heit 2016-04-23 22:38:55 -05:00
parent e96ed6bf8d
commit 593f6c29ad

View file

@ -1515,9 +1515,9 @@ OptionValue MidiDevices
OptionMenu SoundOptions OptionMenu SoundOptions
{ {
Title "$SNDMNU_TITLE" Title "$SNDMNU_TITLE"
Slider "$SNDMNU_SFXVOLUME", "snd_sfxvolume", 0, 1, 0.05 Slider "$SNDMNU_SFXVOLUME", "snd_sfxvolume", 0, 1, 0.05, 2
Slider "$SNDMNU_MENUVOLUME", "snd_menuvolume", 0, 1, 0.05 Slider "$SNDMNU_MENUVOLUME", "snd_menuvolume", 0, 1, 0.05, 2
Slider "$SNDMNU_MUSICVOLUME", "snd_musicvolume", 0, 1, 0.05 Slider "$SNDMNU_MUSICVOLUME", "snd_musicvolume", 0, 1, 0.05, 2
Option "$SNDMNU_MIDIDEVICE", "snd_mididevice", "MidiDevices" Option "$SNDMNU_MIDIDEVICE", "snd_mididevice", "MidiDevices"
StaticText " " StaticText " "
Option "$SNDMNU_UNDERWATERREVERB", "snd_waterreverb", "OnOff" Option "$SNDMNU_UNDERWATERREVERB", "snd_waterreverb", "OnOff"