File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
src/vs/workbench/contrib/chat/browser/chatEditing Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -147,17 +147,14 @@ export class ChatEditingCodeEditorIntegration implements IModifiedFileEntryEdito
147147 }
148148
149149 // done: render diff
150- if ( ! _entry . isCurrentlyBeingModifiedBy . read ( r ) ) {
150+ const isDiffEditor = this . _editor . getOption ( EditorOption . inDiffEditor ) ;
151151
152- const isDiffEditor = this . _editor . getOption ( EditorOption . inDiffEditor ) ;
152+ codeEditorObs . getOption ( EditorOption . fontInfo ) . read ( r ) ;
153+ codeEditorObs . getOption ( EditorOption . lineHeight ) . read ( r ) ;
153154
154- codeEditorObs . getOption ( EditorOption . fontInfo ) . read ( r ) ;
155- codeEditorObs . getOption ( EditorOption . lineHeight ) . read ( r ) ;
156-
157- const reviewMode = _entry . reviewMode . read ( r ) ;
158- const diff = documentDiffInfo . read ( r ) ;
159- this . _updateDiffRendering ( diff , reviewMode , isDiffEditor ) ;
160- }
155+ const reviewMode = _entry . reviewMode . read ( r ) ;
156+ const diff = documentDiffInfo . read ( r ) ;
157+ this . _updateDiffRendering ( diff , reviewMode , isDiffEditor ) ;
161158 } ) ) ;
162159
163160
You can’t perform that action at this time.
0 commit comments