feat(sointu, tracker, gioui): add a comment field to the instrument

This commit is contained in:
vsariola
2021-04-19 21:24:29 +03:00
parent 147e8a2513
commit 40d4d6576e
6 changed files with 183 additions and 129 deletions

View File

@ -174,5 +174,8 @@ func (t *Tracker) loadInstrument(filename string) bool {
return false
}
t.SetInstrument(instrument)
if t.Instrument().Comment != "" {
t.InstrumentExpanded = true
}
return true
}