mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-18 21:14:31 -04:00
fix(sointu): remember to copy song.RowsPerPattern in .copy method
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user