mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-23 07:24:47 -04:00
drafting
This commit is contained in:
parent
6b92ec10cc
commit
1d9f1171bc
@ -98,13 +98,9 @@ func (st *ScrollTable) Tags(level int, yield TagYieldFunc) bool {
|
||||
yield(level, st)
|
||||
}
|
||||
|
||||
func (st *ScrollTable) Focused(gtx C) bool {
|
||||
return gtx.Source.Focused(st)
|
||||
}
|
||||
|
||||
func (st *ScrollTable) TreeFocused(gtx C) bool {
|
||||
return !st.Tags(0, func(level int, tag event.Tag) bool {
|
||||
return !gtx.Source.Focused(tag)
|
||||
return !gtx.Focused(tag)
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user