mirror of https://github.com/kami-blue/client
[fix] Fixed string setting typing initial value
This commit is contained in:
parent
087f76e075
commit
226db7af93
|
@ -43,7 +43,7 @@ class StringButton(val setting: StringSetting) : BooleanSlider(setting.name, 1.0
|
|||
if (buttonId == 1) {
|
||||
if (!listening) {
|
||||
listening = true
|
||||
name = value.toString()
|
||||
name = setting.value
|
||||
value = 0.0
|
||||
} else {
|
||||
onStopListening(false)
|
||||
|
|
Loading…
Reference in New Issue