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

@ -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)
})
}