mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-22 23:14:59 -04:00
drafting
This commit is contained in:
parent
6b92ec10cc
commit
1d9f1171bc
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user