diff options
author | W0LFB0MB <[email protected]> | 2023-10-02 16:09:30 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-10-02 16:09:30 +0100 |
commit | fa0155887621e38dbb73c42ee64682f5cfc785de (patch) | |
tree | f47b8c733e23827f877a89a038f21a03472879d8 /frontend/static/sound | |
parent | 426694afa1785e7b2034c69cb4b318a6a93d1d0e (diff) | |
download | monkeytype-fa0155887621e38dbb73c42ee64682f5cfc785de.tar.gz monkeytype-fa0155887621e38dbb73c42ee64682f5cfc785de.zip |
impr(sound): add support for various error sounds (W0LFB0MB) (#4679)
* Add files via upload
* Delete frontend/static/sound/error/triangle.wav
* Delete frontend/static/sound/error/damage.wav
* modified error sound code to support multiple sound options and added two error sound alternatives
* added compatability for previous users of the error sound, converts legacy true/false config values to 1 or off
* fixed opiton names and values in commandline
* fix: auto switch theme behavior & footer theme indicator (#4677)
* fix: auto switch theme behavior & footer indicator
Changing manually to a preset or custom theme now
turns auto switch theme mode off with a notification.
And now the auto switch mode does override the custom
theme as well (statement in settings also updated) if it
is the later one set.
Fixes #4659, that is the footer theme is now correctly
displayed with auto switch themes as well.
* removed unnecessary function
---------
Co-authored-by: Miodec <[email protected]>
* fixed off config value
* moved compatibilty code to replaceLegacyValues
---------
Co-authored-by: Sanidhya Singh <[email protected]>
Co-authored-by: Miodec <[email protected]>
Diffstat (limited to 'frontend/static/sound')
-rw-r--r-- | frontend/static/sound/error1/error1_1.wav (renamed from frontend/static/sound/error.wav) | bin | 12042 -> 12042 bytes |
-rw-r--r-- | frontend/static/sound/error2/error2_1.wav | bin | 0 -> 16640 bytes |
-rw-r--r-- | frontend/static/sound/error3/error3_1.wav | bin | 0 -> 16534 bytes |
3 files changed, 0 insertions, 0 deletions
diff --git a/frontend/static/sound/error.wav b/frontend/static/sound/error1/error1_1.wav Binary files differindex 00556e829..00556e829 100644 --- a/frontend/static/sound/error.wav +++ b/frontend/static/sound/error1/error1_1.wav diff --git a/frontend/static/sound/error2/error2_1.wav b/frontend/static/sound/error2/error2_1.wav Binary files differnew file mode 100644 index 000000000..bfe123845 --- /dev/null +++ b/frontend/static/sound/error2/error2_1.wav diff --git a/frontend/static/sound/error3/error3_1.wav b/frontend/static/sound/error3/error3_1.wav Binary files differnew file mode 100644 index 000000000..382d7ee34 --- /dev/null +++ b/frontend/static/sound/error3/error3_1.wav |