We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 173f59d commit 18b7ff1Copy full SHA for 18b7ff1
src/gui/gui.cpp
@@ -1886,10 +1886,8 @@ void FurnaceGUI::keyDown(SDL_Event& ev) {
1886
}
1887
1888
void FurnaceGUI::keyUp(SDL_Event& ev) {
1889
- // this is very, very lazy...
1890
- if (--chordInputOffset<0) {
1891
- chordInputOffset=0;
1892
- }
+ // this is very, very lazy... but it works.
+ chordInputOffset=0;
1893
1894
1895
bool dirExists(String s) {
@@ -4239,7 +4237,7 @@ bool FurnaceGUI::loop() {
4239
4237
doAction(action);
4240
4238
} else switch (msg.type&0xf0) {
4241
case TA_MIDI_NOTE_OFF:
4242
- if (--chordInputOffset<0) chordInputOffset=0;
4243
break;
4244
case TA_MIDI_NOTE_ON:
4245
if (midiMap.valueInputStyle==0 || midiMap.valueInputStyle>3 || cursor.xFine==0) {
0 commit comments