tweak default to 0.15

This commit is contained in:
CJ Pais 2025-08-15 12:11:35 -07:00
parent 87f97ab121
commit d52df53343
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.2
0.15
}
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.2}
value={settings?.word_correction_threshold ?? 0.15}
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.2),
word_correction_threshold: z.number().optional().default(0.15),
});
export const BindingResponseSchema = z.object({