- 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:
Johannes
2024-03-19 14:31:53 +01:00
parent f57aab9938
commit 1f17652159
6 changed files with 121 additions and 87 deletions

View File

@@ -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();