More Pre-Start modes. (#34)

* do

* parse settings before setting
This commit is contained in:
Viktor Rådberg
2024-03-29 23:24:35 +01:00
committed by GitHub
parent fa5829b402
commit 9c27f34261
17 changed files with 756 additions and 322 deletions

View File

@@ -108,7 +108,7 @@ const PlayerMenu = ({
goToStart,
settings,
setPlaying,
setStopPlayerRandomization,
setRandomizingPlayer,
} = useGlobalSettings();
const { updatePlayer, resetCurrentGame } = usePlayers();
@@ -129,12 +129,12 @@ const PlayerMenu = ({
resetCurrentGame();
setShowPlayerMenu(false);
setPlaying(false);
setStopPlayerRandomization(false);
setRandomizingPlayer(true);
};
const handleGoToStart = () => {
goToStart();
setStopPlayerRandomization(false);
setRandomizingPlayer(true);
};
const toggleFullscreen = () => {