Skip to content

Commit

Permalink
escape used when sticky scroll focused not when enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
aiday-mar committed Mar 23, 2023
1 parent b0defa2 commit 5659c3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export class SelectEditor extends EditorAction2 {
value: localize('selectEditor.title', "Select Editor"),
original: 'Select Editor'
},
precondition: ContextKeyExpr.has('config.editor.stickyScroll.enabled'),
precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
keybinding: {
weight,
primary: KeyCode.Escape
Expand Down

0 comments on commit 5659c3b

Please sign in to comment.