This commit is contained in:
Maciej Caderek
2022-03-24 03:25:52 +01:00
parent 83fe7b301e
commit e71b8198f9
5 changed files with 21 additions and 3 deletions

View File

@@ -221,6 +221,10 @@ const main = async () => {
download(data, name, state.gameConfig.format.toLowerCase());
},
toggleSound() {
setState("boardConfig", "sounds", !state.boardConfig.sounds);
saveConfig("board");
},
};
/* Render the page */