Skip to content

Commit cd5050a

Browse files
authored
Chat - rerender chat panel when font size is changed (microsoft#263464)
1 parent ec0cb2f commit cd5050a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,8 @@ export class ChatWidget extends Disposable implements IChatWidget {
624624
this.container.style.setProperty('--vscode-chat-font-size-title-s', `${Math.round(fontSize * (14 / 13))}px`);
625625
this.container.style.setProperty('--vscode-chat-font-size-title-m', `${Math.round(fontSize * (16 / 13))}px`);
626626
this.container.style.setProperty('--vscode-chat-font-size-title-l', `${Math.round(fontSize * (20 / 13))}px`);
627+
628+
this.tree.rerender();
627629
}));
628630

629631
this._register(this.editorOptions.onDidChange(() => this.onDidStyleChange()));

0 commit comments

Comments
 (0)