Speech settings updated, no large decimals for settings. Also changing with quick settings keys now applies across window changes.
This commit is contained in:
1 parent
7ae2801e53
commit
6ee0454fbe
17 files changed
+406
-15
No files matched your search
@@ -56,6 +56,7 @@ func RebaseApplicationSettings(oldGlobal, newGlobal, application Settings) Setti
|
||||
}
|
||||
|
||||
func profileFromSettings(settings Settings) writableProfile {
|
||||
settings = RoundSpeechValues(settings)
|
||||
return writableProfile{
|
||||
OCR: writableOCR{Language: stringPointer(settings.OCR.Language), Layout: intPointer(settings.OCR.Layout), Scale: intPointer(settings.OCR.Scale), Grayscale: boolPointer(settings.OCR.Grayscale), Invert: boolPointer(settings.OCR.Invert), BlackWhite: boolPointer(settings.OCR.BlackWhite), Threshold: intPointer(settings.OCR.Threshold), AutoRefresh: boolPointer(settings.OCR.AutoRefresh), RefreshInterval: intPointer(settings.OCR.RefreshInterval), ConfirmClick: boolPointer(settings.OCR.ConfirmClick), CopyFirstResult: boolPointer(settings.OCR.CopyFirstResult), AutoReadAll: boolPointer(settings.OCR.AutoReadAll)},
|
||||
ProgressBar: writableProgressBar{
|
||||
|
||||
Reference in new issue
Block a user