Skip to content

Commit 974e227

Browse files
committed
Fixed inapp hotkeys key down event repeat triggering #9
1 parent 787b6e1 commit 974e227

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/hotkey_manager.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class HotKeyManager {
3939
}
4040

4141
if (value is RawKeyDownEvent) {
42+
if (value.repeat) return;
4243
HotKey? hotKey = _hotKeyList.firstWhereOrNull(
4344
(e) {
4445
return e.scope == HotKeyScope.inapp &&

0 commit comments

Comments
 (0)