Fix SetBackgroundColor
This commit is contained in:
parent
1b44dcda98
commit
ed816e4129
|
@ -240,7 +240,7 @@ func (f *TextField) SetBackgroundColor(c color.Color) {
|
|||
f.Lock()
|
||||
defer f.Unlock()
|
||||
|
||||
f.textColor = c
|
||||
f.backgroundColor = c
|
||||
}
|
||||
|
||||
// SetFont sets the font face of the text within the field.
|
||||
|
|
Reference in New Issue