fix(state.ts): change the increment value in decThreshold function from 1 to -1 to correctly decrease the threshold value

This commit is contained in:
Sped0n
2023-10-31 00:03:59 +08:00
parent f9af230110
commit 102e9aacf7

View File

@@ -56,7 +56,7 @@ export function incThreshold(): void {
export function decThreshold(): void {
let s = state.get()
s = updateThreshold(s, 1)
s = updateThreshold(s, -1)
state.set(s)
}