mirror of
https://github.com/vsariola/sointu.git
synced 2025-08-30 09:54:36 -04:00
fix(tracker): update sequencer rowlength when entire song is set
This commit is contained in:
@ -77,6 +77,7 @@ func (t *Tracker) LoadSong(song sointu.Song) error {
|
|||||||
t.ClampPositions()
|
t.ClampPositions()
|
||||||
if t.sequencer != nil {
|
if t.sequencer != nil {
|
||||||
t.sequencer.SetPatch(song.Patch)
|
t.sequencer.SetPatch(song.Patch)
|
||||||
|
t.sequencer.SetRowLength(song.SamplesPerRow())
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user