Fix action context hotkey event logic

This commit is contained in:
Jack251970 2025-07-10 22:50:58 +08:00
parent ad81a3c091
commit 96bf44501e

View file

@ -736,7 +736,7 @@ internal static class HotKeyMapper
{
// Check if this hotkey is a hotkey for ActionContext events
if (!_actionContextHotkeyEvents.ContainsKey(hotkey) &&
_actionContextHotkeyEvents[hotkey].Command == existingBinding.Command ||
_actionContextHotkeyEvents[hotkey].Command == existingBinding.Command &&
_actionContextHotkeyEvents[hotkey].Parameter == existingBinding.CommandParameter)
{
// If the hotkey is not for ActionContext events, return false