Skip to content

Commit ac0a637

Browse files
committed
more
1 parent 5e9b7aa commit ac0a637

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/accessibility/browser/accessibleView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class AccessibleView extends Disposable {
126126
this._register(this._editorWidget.onKeyUp((e) => {
127127
if (e.keyCode === KeyCode.Escape) {
128128
this._contextViewService.hideContextView();
129-
} else if (e.keyCode === KeyCode.KeyD) {
129+
} else if (e.keyCode === KeyCode.KeyD && this._configurationService.getValue(settingKey)) {
130130
this._configurationService.updateValue(settingKey, false);
131131
} else if (e.keyCode === KeyCode.KeyH && provider.options.readMoreUrl) {
132132
const url: string = provider.options.readMoreUrl!;

0 commit comments

Comments
 (0)