From 59856c5e41b2e3309017618caf61b51774793d74 Mon Sep 17 00:00:00 2001 From: Luke Wilson Date: Mon, 12 Apr 2021 10:53:25 -0500 Subject: [PATCH] Panel: change reference to Focused -> focused --- ui/panel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/panel.go b/ui/panel.go index 8458d7a..917de3c 100755 --- a/ui/panel.go +++ b/ui/panel.go @@ -132,7 +132,7 @@ func (p *Panel) Draw(s tcell.Screen) { // SetFocused sets this Panel's Focused field to `v`. Then, if the Panel's Kind // is PanelKindSingle, it sets its child (not a Panel) focused to `v`, also. func (p *Panel) SetFocused(v bool) { - p.Focused = v + p.focused = v switch p.Kind { case PanelKindSplitVert: fallthrough