mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-10 10:12:34 -05:00
Merge from vscode 5e80bf449c995aa32a59254c0ff845d37da11b70 (#9317)
This commit is contained in:
@@ -44,7 +44,10 @@ Registry.add(Extensions.WorkbenchActions, new class implements IWorkbenchActionR
|
||||
KeybindingsRegistry.registerKeybindingRule({
|
||||
id: descriptor.id,
|
||||
weight: weight,
|
||||
when: (descriptor.keybindingContext || when ? ContextKeyExpr.and(descriptor.keybindingContext, when) : null),
|
||||
when:
|
||||
descriptor.keybindingContext && when
|
||||
? ContextKeyExpr.and(descriptor.keybindingContext, when)
|
||||
: descriptor.keybindingContext || when || null,
|
||||
primary: keybindings ? keybindings.primary : 0,
|
||||
secondary: keybindings?.secondary,
|
||||
win: keybindings?.win,
|
||||
|
||||
Reference in New Issue
Block a user