Changed 'Tabbable/Focusable' logic to use Active
This commit is contained in:
@@ -86,9 +86,9 @@ func (w *SimpleListWithHelp) Draw(screen tcell.Screen) {
|
||||
|
||||
func (w *SimpleListWithHelp) SetStyle(s tcell.Style) { w.style = s }
|
||||
func (w *SimpleListWithHelp) Active() bool { return w.list.Active() }
|
||||
func (w *SimpleListWithHelp) SetActive(a bool) {
|
||||
w.list.SetActive(a)
|
||||
func (w *SimpleListWithHelp) SetActive(a bool) bool {
|
||||
w.help.SetVisible(a)
|
||||
return w.list.SetActive(a)
|
||||
}
|
||||
func (w *SimpleListWithHelp) Visible() bool { return w.visible }
|
||||
func (w *SimpleListWithHelp) SetVisible(a bool) { w.visible = a }
|
||||
|
||||
Reference in New Issue
Block a user