Skip to content

Commit 3c72970

Browse files
committed
Possibly more ambitious change but both of these seem redundnat
1 parent 7acd0b4 commit 3c72970

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

src/vs/workbench/contrib/chat/browser/widget/chatWidget.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)