milkytracker / MilkyTracker

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

Pattern length display isn't updated when pasting changes it #8

Closed SyntaxErrol closed 10 years ago

SyntaxErrol commented 10 years ago

Talking about the little value in the main panel above Expand and Shrink buttons. When Config > Misc > Pattern Editor > Paste autoresize is enabled and you paste something that extends the pattern, this number isn't updated.

dwhinham commented 10 years ago

I've attempted to fix this, and it seems to work now, but I'm not certain if it's the right way to go about it:

https://github.com/dwhinham/MilkyTracker/commit/334f678e316b5c17600e8e4c0a023303c88222ba

Shall I go ahead with a pull request? I'm new to GitHub so am a bit unsure about the etiquette and so on. :)

Deltafire commented 10 years ago

If there is a better way, I don't know of it. I've merged in your changes - thanks!