mirror of https://github.com/Wox-launcher/Wox
fix double key conflict, eg: hold ctrl and repeat press other key
This commit is contained in:
parent
6f801d734b
commit
713ed58fb2
|
@ -44,6 +44,8 @@ func registerDoubleHotKey(ctx context.Context, modifier hotkey.Modifier, callbac
|
|||
}
|
||||
|
||||
lastKeyUpTimestamp.Store(ev.Keycode, util.GetSystemTimestamp())
|
||||
} else {
|
||||
lastKeyUpTimestamp.Clear()
|
||||
}
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue