1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00

Changed the order of the sound options in the settings menu

This commit is contained in:
Yoshie2000 2020-08-30 21:09:59 +02:00
parent 1a0a3dbf2d
commit 54d7ef82f2

View File

@ -164,14 +164,6 @@ export const allApplicationSettings = [
*/ */
(app, value) => app.sound.setSoundsMuted(value) (app, value) => app.sound.setSoundsMuted(value)
), ),
new BoolSetting(
"musicMuted",
enumCategories.general,
/**
* @param {Application} app
*/
(app, value) => app.sound.setMusicMuted(value)
),
new RangeSetting( new RangeSetting(
"soundVolume", "soundVolume",
enumCategories.general, enumCategories.general,
@ -180,6 +172,14 @@ export const allApplicationSettings = [
*/ */
(app, value) => app.sound.setSoundVolume(value / 100.0) (app, value) => app.sound.setSoundVolume(value / 100.0)
), ),
new BoolSetting(
"musicMuted",
enumCategories.general,
/**
* @param {Application} app
*/
(app, value) => app.sound.setMusicMuted(value)
),
new RangeSetting( new RangeSetting(
"musicVolume", "musicVolume",
enumCategories.general, enumCategories.general,