File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ void Note::Setup(const vector<string>& args) {
138138 UIButton octavePlusBtn;
139139 octavePlusBtn.SetName (" Octave +1" );
140140 octavePlusBtn.SetSize (Dimension (2 , 1 ));
141- octavePlusBtn.SetColorFunc ([&]() -> Color { return Color (0x80FF00 ).DimIfNot (notePadConfigs[activeConfig].octave <= 12 ); });
141+ octavePlusBtn.SetColorFunc ([&]() -> Color { return Color (0x80FF00 ).DimIfNot (notePadConfigs[activeConfig].octave < 12 ); });
142142 octavePlusBtn.OnPress ([&]() -> void {
143143 if (notePadConfigs[activeConfig].octave < 12 )
144144 {
@@ -150,7 +150,7 @@ void Note::Setup(const vector<string>& args) {
150150 UIButton octaveMinusBtn;
151151 octaveMinusBtn.SetName (" Octave -1" );
152152 octaveMinusBtn.SetSize (Dimension (2 , 1 ));
153- octaveMinusBtn.SetColorFunc ([&]() -> Color { return Color (0xFF0060 ).DimIfNot (notePadConfigs[activeConfig].octave >= -2 ); });
153+ octaveMinusBtn.SetColorFunc ([&]() -> Color { return Color (0xFF0060 ).DimIfNot (notePadConfigs[activeConfig].octave > -2 ); });
154154 octaveMinusBtn.OnPress ([&]() -> void {
155155 if (notePadConfigs[activeConfig].octave > -2 )
156156 {
You can’t perform that action at this time.
0 commit comments