This commit is contained in:
5684185+vsariola@users.noreply.github.com
2025-06-25 12:54:01 +03:00
parent 6b92ec10cc
commit 1d9f1171bc
6 changed files with 10 additions and 18 deletions

View File

@ -17,7 +17,7 @@ func (t *Tracker) FocusNext(gtx C, maxLevel int) {
next = tag
return false // we're done
}
if gtx.Source.Focused(tag) {
if gtx.Focused(tag) {
focused = tag
}
return true
@ -39,7 +39,7 @@ func (t *Tracker) FocusPrev(gtx C, maxLevel int) {
if first == nil {
first = tag // remember the first tag
}
if gtx.Source.Focused(tag) {
if gtx.Focused(tag) {
if prev != nil {
return false // we're done
}