fix some score issues
This commit is contained in:
parent
63896d10c8
commit
f9bee84194
3 changed files with 4 additions and 3 deletions
|
|
@ -31,12 +31,12 @@ const store = create<State>((set) => ({
|
|||
uid: null,
|
||||
showScore: false,
|
||||
showOvScore: true,
|
||||
currentIntroStep: 0,
|
||||
currentIntroStep: 1,
|
||||
revealablesFinished: 0,
|
||||
currentScene: Scenes.OVERVIEW,
|
||||
currentSubproject: null,
|
||||
participantAnonymous: false,
|
||||
companionState: CompanionState.IDLE,
|
||||
companionState: CompanionState.ACTIVE,
|
||||
infoMessageShown: false,
|
||||
infoMessages: [],
|
||||
finishedGame: false,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import { logger } from '../logger';
|
||||
import { Scenes } from '../scenes/scenes';
|
||||
import store from '../store';
|
||||
import { CompanionState } from './companion';
|
||||
|
||||
export class Intro {
|
||||
currentStep: number;
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ export class OvScore {
|
|||
}
|
||||
|
||||
store.subscribe((state) => {
|
||||
if (state.showOvScore) {
|
||||
if (state.showOvScore && !state.showScore) {
|
||||
this.scoreRef.style.display = 'flex';
|
||||
} else {
|
||||
this.scoreRef.style.display = 'none';
|
||||
|
|
|
|||
Reference in a new issue