add show pp setting

This commit is contained in:
Lee 2023-01-14 14:27:08 +00:00
parent 06bf046c01
commit e31902c448
No known key found for this signature in database
GPG Key ID: BAF8F4DB8E7F38EF

@ -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<SettingsState>()((set) => ({
showCutStats: false,
shouldReplacePlayerInfoWithScore: false,
songTimeHex: "FF0000",
showPp: true,
setMounted: (isMounted: boolean) => set(() => ({ mounted: isMounted })),
setOverlaySettings: (params: any) =>