GUI: add note/value input repeat option

This commit is contained in:
tildearrow 2024-04-25 22:16:08 -05:00
parent 2fa4364638
commit e1d58d97cb
3 changed files with 14 additions and 1 deletions

View file

@ -1529,7 +1529,7 @@ void FurnaceGUI::keyDown(SDL_Event& ev) {
}
// pattern input otherwise
if (mapped&(FURKMOD_ALT|FURKMOD_CTRL|FURKMOD_META|FURKMOD_SHIFT)) break;
if (!ev.key.repeat) {
if (!ev.key.repeat || settings.inputRepeat) {
if (cursor.xFine==0) { // note
auto it=noteKeys.find(ev.key.keysym.scancode);
if (it!=noteKeys.cend()) {