fix: macOS key repeat not working
This commit is contained in:
committed by
Chris Rizzitello
parent
3598eb6a47
commit
b8e0415632
@ -947,9 +947,10 @@ void KeyMap::addKeystrokes(
|
||||
|
||||
case kKeystrokeRepeat:
|
||||
if (deskflow::platform::isWindows()) {
|
||||
// Windows repeat needs this
|
||||
keystrokes.push_back(Keystroke(button, false, true, data));
|
||||
keystrokes.push_back(Keystroke(button, true, true, data));
|
||||
} else if (deskflow::platform::isMac()) {
|
||||
keystrokes.push_back(Keystroke(button, true, true, data));
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user