feat(tracker): add a preset explorer with search and filters

Closes #91
This commit is contained in:
5684185+vsariola@users.noreply.github.com
2025-10-15 12:19:25 +03:00
parent 3f365707c2
commit 2336a135c6
128 changed files with 1147 additions and 405 deletions

View File

@ -67,6 +67,8 @@ func (e *Editor) Layout(gtx C, str tracker.String, th *Theme, style *EditorStyle
}
if e.widgetEditor.Text() != str.Value() {
e.widgetEditor.SetText(str.Value())
l := len(e.widgetEditor.Text())
e.widgetEditor.SetCaret(l, l)
}
me := material.Editor(&th.Material, &e.widgetEditor, hint)
me.Font = style.Font