mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Redraw when focusing via nav shortcuts to feel more responsive
This commit is contained in:
parent
54d6dde20e
commit
5761f2858d
@ -128,9 +128,10 @@ func (tracker *FocusTracker) focus(idx int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
view := widget.TextView()
|
view := widget.TextView()
|
||||||
|
view.SetBorderColor(colorFor(Config.UString("wtf.colors.border.focused", "gray")))
|
||||||
|
|
||||||
tracker.App.SetFocus(view)
|
tracker.App.SetFocus(view)
|
||||||
view.SetBorderColor(colorFor(Config.UString("wtf.colors.border.focused", "gray")))
|
tracker.App.Draw()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (tracker *FocusTracker) focusables() []Wtfable {
|
func (tracker *FocusTracker) focusables() []Wtfable {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user