fix(tracker): update sequencer rowlength when entire song is set

This commit is contained in:
vsariola 2021-02-03 13:29:42 +02:00
parent b0dac8454d
commit e25015a60b

View File

@ -77,6 +77,7 @@ func (t *Tracker) LoadSong(song sointu.Song) error {
t.ClampPositions()
if t.sequencer != nil {
t.sequencer.SetPatch(song.Patch)
t.sequencer.SetRowLength(song.SamplesPerRow())
}
return nil
}