This commit is contained in:
陈思海 2025-08-11 16:09:35 +08:00
parent c19ac158f9
commit c25e3028ec

View File

@ -127,6 +127,7 @@ internal static class UXHotkeyComponent
if (registrations.Count == 0) if (registrations.Count == 0)
{ {
actionRef.action.Disable(); actionRef.action.Disable();
_sharedHandlers.Remove(actionId);
} }
switch (pressType) switch (pressType)
@ -139,8 +140,6 @@ internal static class UXHotkeyComponent
break; break;
} }
} }
_sharedHandlers.Remove(actionId);
} }
break; break;