Files
lmms/src
regulus79 34aab9fd06 Fix Default PianoRoll Zoom and Quantization (#8484)
When #7854 was merged, the line for setting the default zoom of the piano roll was copy-pasted to also set the default vertical zoom and quantization. That way if no previous default had been saved, it would default to 100% horizontal zoom, 100% vertical zoom, and 1/16 quantization (which was the default behavior before the PR).

Unfortunately, the variable in expression it used to find the correct index of "100%" or "1/16" in the list was not correctly updated after copy-pasting, which caused the wrong defaults to be set. For example, in the vertical zoom dropdown, "100%" is index 2, but in the horizontal zoom, it's index 3. This caused the default vertical zoom to be 150%, not 100%. Likewise, since the horizontal zoom list doesn't contain "1/16", the quantization defaulted to index 0, which was "Note Lock".

This PR fixes those issues by correcting the variables names in those two lines.
2026-07-24 14:08:21 -04:00
..
2025-11-03 11:58:15 -06:00
2026-07-20 14:53:09 -04:00