GUI: fix transpose octave range

This commit is contained in:
tildearrow 2022-03-11 16:53:46 -05:00
parent 74a23b3ec5
commit 5fadcf4891

View file

@ -2833,10 +2833,13 @@ void FurnaceGUI::doTranspose(int amount) {
origNote+=12;
origOctave--;
}
// FIX!!!!! TODO
if (origOctave>7) {
origNote=12;
origOctave=7;
if (origOctave==9 && origNote>11) {
origNote=11;
origOctave=9;
}
if (origOctave>9) {
origNote=11;
origOctave=9;
}
if (origOctave<-5) {
origNote=1;