Fix Searcher Layout
This commit is contained in:
@@ -117,7 +117,9 @@ func (w *TopMenuLayout) Draw(screen tcell.Screen) {
|
||||
func (w *TopMenuLayout) Active() bool { return w.active }
|
||||
func (w *TopMenuLayout) SetActive(a bool) {
|
||||
w.active = a
|
||||
w.widget.SetActive(a)
|
||||
if w.widget != nil {
|
||||
w.widget.SetActive(a)
|
||||
}
|
||||
}
|
||||
func (w *TopMenuLayout) Visible() bool { return w.visible }
|
||||
func (w *TopMenuLayout) SetVisible(a bool) { w.visible = a }
|
||||
|
||||
Reference in New Issue
Block a user