[Accessibility] ctrl+k, ctrl+shift+n does not open actionable notification items (fix #193715) (#193758)

This commit is contained in:
Benjamin Pasero
2023-09-22 08:37:57 +02:00
committed by GitHub
parent 54fc6334f5
commit 2cd6bbdb73

View File

@@ -93,7 +93,6 @@ export function registerNotificationCommands(center: INotificationsCenterControl
KeybindingsRegistry.registerCommandAndKeybindingRule({ KeybindingsRegistry.registerCommandAndKeybindingRule({
id: SHOW_NOTIFICATIONS_CENTER, id: SHOW_NOTIFICATIONS_CENTER,
weight: KeybindingWeight.WorkbenchContrib, weight: KeybindingWeight.WorkbenchContrib,
when: NotificationsCenterVisibleContext.negate(),
primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyN), primary: KeyChord(KeyMod.CtrlCmd | KeyCode.KeyK, KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyN),
handler: () => { handler: () => {
toasts.hide(); toasts.hide();