add show pp setting
This commit is contained in:
parent
06bf046c01
commit
e31902c448
@ -12,6 +12,7 @@ interface SettingsState {
|
|||||||
showCutStats: boolean;
|
showCutStats: boolean;
|
||||||
shouldReplacePlayerInfoWithScore: boolean;
|
shouldReplacePlayerInfoWithScore: boolean;
|
||||||
songTimeHex: string;
|
songTimeHex: string;
|
||||||
|
showPp: boolean;
|
||||||
setMounted: (isMounted: boolean) => void;
|
setMounted: (isMounted: boolean) => void;
|
||||||
setOverlaySettings: (params: string) => void;
|
setOverlaySettings: (params: string) => void;
|
||||||
}
|
}
|
||||||
@ -27,6 +28,7 @@ export const useSettingsStore = create<SettingsState>()((set) => ({
|
|||||||
showCutStats: false,
|
showCutStats: false,
|
||||||
shouldReplacePlayerInfoWithScore: false,
|
shouldReplacePlayerInfoWithScore: false,
|
||||||
songTimeHex: "FF0000",
|
songTimeHex: "FF0000",
|
||||||
|
showPp: true,
|
||||||
|
|
||||||
setMounted: (isMounted: boolean) => set(() => ({ mounted: isMounted })),
|
setMounted: (isMounted: boolean) => set(() => ({ mounted: isMounted })),
|
||||||
setOverlaySettings: (params: any) =>
|
setOverlaySettings: (params: any) =>
|
||||||
|
Reference in New Issue
Block a user