From e31902c448c5b3d54b49e127e81e10b6f6159744 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 14 Jan 2023 14:27:08 +0000 Subject: [PATCH] add show pp setting --- src/store/overlaySettingsStore.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/store/overlaySettingsStore.ts b/src/store/overlaySettingsStore.ts index c0d29a5..f6436dd 100644 --- a/src/store/overlaySettingsStore.ts +++ b/src/store/overlaySettingsStore.ts @@ -12,6 +12,7 @@ interface SettingsState { showCutStats: boolean; shouldReplacePlayerInfoWithScore: boolean; songTimeHex: string; + showPp: boolean; setMounted: (isMounted: boolean) => void; setOverlaySettings: (params: string) => void; } @@ -27,6 +28,7 @@ export const useSettingsStore = create()((set) => ({ showCutStats: false, shouldReplacePlayerInfoWithScore: false, songTimeHex: "FF0000", + showPp: true, setMounted: (isMounted: boolean) => set(() => ({ mounted: isMounted })), setOverlaySettings: (params: any) =>