tweak thresh

This commit is contained in:
CJ Pais 2025-08-19 18:54:00 -07:00
parent 8b5a9104b7
commit 5296738bac
3 changed files with 3 additions and 3 deletions

View file

@ -73,7 +73,7 @@ fn default_debug_mode() -> bool {
}
fn default_word_correction_threshold() -> f64 {
0.15
0.18
}
pub const SETTINGS_STORE_PATH: &str = "settings_store.json";

View file

@ -18,7 +18,7 @@ export const WordCorrectionThreshold: React.FC<
return (
<Slider
value={settings?.word_correction_threshold ?? 0.15}
value={settings?.word_correction_threshold ?? 0.18}
onChange={handleThresholdChange}
min={0.0}
max={1.0}

View file

@ -35,7 +35,7 @@ export const SettingsSchema = z.object({
overlay_position: OverlayPositionSchema,
debug_mode: z.boolean(),
custom_words: z.array(z.string()).optional().default([]),
word_correction_threshold: z.number().optional().default(0.15),
word_correction_threshold: z.number().optional().default(0.18),
});
export const BindingResponseSchema = z.object({