mirror of
https://github.com/vsariola/sointu.git
synced 2025-05-28 03:10:24 -04:00
fix(sointu): remember to copy song.RowsPerPattern in .copy method
This commit is contained in:
parent
22c433b3e4
commit
5033e8fa8e
@ -266,7 +266,7 @@ func (s *Song) Copy() Song {
|
||||
for i, t := range s.Tracks {
|
||||
tracks[i] = t.Copy()
|
||||
}
|
||||
return Song{BPM: s.BPM, Tracks: tracks, Patch: s.Patch.Copy()}
|
||||
return Song{BPM: s.BPM, RowsPerPattern: s.RowsPerPattern, Tracks: tracks, Patch: s.Patch.Copy()}
|
||||
}
|
||||
|
||||
func (s *Song) SequenceLength() int {
|
||||
|
Loading…
Reference in New Issue
Block a user