milkytracker / MilkyTracker

An FT2 compatible music tracker
http://milkytracker.github.io/
Other
1.67k stars 160 forks source link

Undo across a pattern boundary overwrites the current pattern #326

Open exelotl opened 9 months ago

exelotl commented 9 months ago

Say I have the following pattern order:

00
01

I've turned off pattern wrapping. I insert a note at the very end of pattern 00 so that milky steps into pattern 01. Now, pressing Ctrl+Z will not step back into pattern 00, but instead replace the contents of pattern 01 with the old contents of pattern 00.

I've lost work due to this because I didn't realise what had happened (but if I notice it's happened in the future, I can restore the contents of pattern 01 by pressing Ctrl+Y).