refactor(tracker/gioui): upgrade gio & store Tracker to gtx.Values

This commit is contained in:
5684185+vsariola@users.noreply.github.com
2025-06-25 18:54:00 +03:00
parent 08c36ed462
commit d78ef98e73
8 changed files with 49 additions and 39 deletions

View File

@ -61,7 +61,8 @@ func NewUnitEditor(m *tracker.Model) *UnitEditor {
return ret
}
func (pe *UnitEditor) Layout(gtx C, t *Tracker) D {
func (pe *UnitEditor) Layout(gtx C) D {
t := TrackerFromContext(gtx)
for {
e, ok := gtx.Event(
key.Filter{Focus: pe.sliderList, Name: key.NameLeftArrow, Optional: key.ModShift},