For speech rate in settings up/down move by 10, left/right move by 1. Easier to get settings right without having to hold doown the arrow keys lol.
This commit is contained in:
1 parent
ea5d26f56d
commit
088f706cb4
13 files changed
+81
-10
No files matched your search
@@ -132,6 +132,9 @@ func make_control(definition config.Definition, settings config.Settings, discov
|
||||
control.Number = value.(float64)
|
||||
}
|
||||
control.Min, control.Max, control.Step = definition.Min, definition.Max, definition.Step
|
||||
if definition.Path == "presentation.speech.rate" {
|
||||
control.UpDownStep = 10
|
||||
}
|
||||
case reflect.String:
|
||||
control.Kind, control.Text = interaction.Entry, value.(string)
|
||||
case reflect.Slice:
|
||||
|
||||
Reference in new issue
Block a user