This commit is contained in:
5684185+vsariola@users.noreply.github.com
2025-06-25 13:06:27 +03:00
parent 1d9f1171bc
commit 8e9626e48f
2 changed files with 25 additions and 19 deletions

View File

@ -220,8 +220,8 @@ func (pe *UnitEditor) command(gtx C, e key.Event, t *Tracker) {
}
}
func (t *UnitEditor) Tags(curLevel int, yield TagYieldFunc) bool {
return yield(curLevel, t.sliderList) && yield(curLevel+1, &t.commentEditor.widgetEditor)
func (t *UnitEditor) Tags(level int, yield TagYieldFunc) bool {
return yield(level, t.sliderList) && yield(level+1, &t.commentEditor.widgetEditor)
}
type ParameterWidget struct {