File tree Expand file tree Collapse file tree
src/vs/workbench/contrib/chat/browser/widget Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1207,10 +1207,6 @@ export class ChatWidget extends Disposable implements IChatWidget {
12071207 return ;
12081208 }
12091209 this . input . renderChatEditingSessionState ( this . _editingSession . get ( ) ?? null ) ;
1210-
1211- if ( this . bodyDimension ) {
1212- this . layout ( this . bodyDimension . height , this . bodyDimension . width ) ;
1213- }
12141210 }
12151211
12161212 private async renderFollowups ( ) : Promise < void > {
@@ -2041,10 +2037,6 @@ export class ChatWidget extends Disposable implements IChatWidget {
20412037 this . scrollToEnd ( ) ;
20422038 }
20432039 } ) ) ) ;
2044- this . viewModelDisposables . add ( autorun ( reader => {
2045- this . _editingSession . read ( reader ) ; // re-render when the session changes
2046- this . renderChatEditingSessionState ( ) ;
2047- } ) ) ;
20482040 this . viewModelDisposables . add ( this . viewModel . onDidDisposeModel ( ( ) => {
20492041 // Ensure that view state is saved here, because we will load it again when a new model is assigned
20502042 if ( this . viewModel ?. editing ) {
You can’t perform that action at this time.
0 commit comments