mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 03:54:24 +01:00
- only layout zone widget when visible
- content widget and controller tweaks - wire up follow up commands - disable filter for inline chat widget because its weird - hardcode height
This commit is contained in:
@@ -60,7 +60,10 @@ export class InlineChatZoneWidget extends ZoneWidget {
|
||||
}
|
||||
});
|
||||
this._disposables.add(this.widget.onDidChangeHeight(() => {
|
||||
this._relayout(this._computeHeightInLines());
|
||||
if (this.position) {
|
||||
// only relayout when visible
|
||||
this._relayout(this._computeHeightInLines());
|
||||
}
|
||||
}));
|
||||
this._disposables.add(this.widget);
|
||||
this.create();
|
||||
|
||||
Reference in New Issue
Block a user