Update StringMatcher's UserSettingSearchPrecision property type

makes more sense and less conversion to int for actual precision score
This commit is contained in:
Jeremy Wu
2020-01-07 22:30:36 +11:00
parent 2a49b3899a
commit 76727d09bf
5 changed files with 44 additions and 42 deletions

View File

@@ -55,7 +55,7 @@ namespace Wox
Alphabet.Initialize(_settings);
StringMatcher.UserSettingSearchPrecision = (int)_settings.QuerySearchPrecision;
StringMatcher.UserSettingSearchPrecision = _settings.QuerySearchPrecision;
StringMatcher.ShouldUsePinyin = _settings.ShouldUsePinyin;
PluginManager.LoadPlugins(_settings.PluginSettings);