tweak default to 0.15
This commit is contained in:
parent
87f97ab121
commit
d52df53343
3 changed files with 3 additions and 3 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Reference in a new issue