Skip to content

Commit 87dccdd

Browse files
committed
don't write the editMode setting when accessibility in on, just use a different default fyi @meganrogge
1 parent 8399bee commit 87dccdd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/vs/workbench/contrib/interactiveEditor/browser/interactiveEditorController.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ export class InteractiveEditorController implements IEditorContribution {
145145
if (this._accessibilityService.isScreenReaderOptimized() && editModeValue === editMode.defaultValue) {
146146
// By default, use preview mode for screen reader users
147147
editModeValue = EditMode.Preview;
148-
this._configurationService.updateValue('interactiveEditor.editMode', EditMode.Preview);
149148
}
150149
return editModeValue!;
151150
}

0 commit comments

Comments
 (0)