From 5fadcf4891d9fcadc06d66dc4000aa648bece34c Mon Sep 17 00:00:00 2001 From: tildearrow Date: Fri, 11 Mar 2022 16:53:46 -0500 Subject: [PATCH] GUI: fix transpose octave range --- src/gui/gui.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index e79029e37..1cc6165c0 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -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;