Skip to content

Commit a6ba207

Browse files
committed
debugui: bug fix: text input mode didn't work for sliders
1 parent 9dc105f commit a6ba207

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

control.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ func (c *Context) slider(value *float64, low, high, step float64, digits int, op
299299

300300
// handle text input mode
301301
if c.numberTextField(&v, id) {
302+
*value = v
302303
return false
303304
}
304305

0 commit comments

Comments
 (0)