Panel: change reference to Focused -> focused
This commit is contained in:
parent
e0079bbdb5
commit
59856c5e41
@ -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
|
// 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.
|
// is PanelKindSingle, it sets its child (not a Panel) focused to `v`, also.
|
||||||
func (p *Panel) SetFocused(v bool) {
|
func (p *Panel) SetFocused(v bool) {
|
||||||
p.Focused = v
|
p.focused = v
|
||||||
switch p.Kind {
|
switch p.Kind {
|
||||||
case PanelKindSplitVert:
|
case PanelKindSplitVert:
|
||||||
fallthrough
|
fallthrough
|
||||||
|
Loading…
x
Reference in New Issue
Block a user