Skip to content

Commit 2354a33

Browse files
authored
1 parent cc7af98 commit 2354a33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/editor/browser/widget/diffEditorWidget2/diffEditorEditors.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ export class DiffEditorEditors extends Disposable {
3939
this.modified = this._createRightHandSideEditor(_options.editorOptions.get(), codeEditorWidgetOptions.modifiedEditor || {});
4040

4141
this._register(autorunHandleChanges('update editor options', {
42-
createEmptyChangeSummary: () => ({}),
42+
createEmptyChangeSummary: () => ({} as IDiffEditorConstructionOptions),
4343
handleChange: (ctx, changeSummary) => {
4444
if (ctx.didChange(_options.editorOptions)) {
45-
Object.assign(changeSummary, ctx.change);
45+
Object.assign(changeSummary, ctx.change.changedOptions);
4646
}
4747
return true;
4848
}

0 commit comments

Comments
 (0)