Fix missing spacer between assistant message and text editor

Initialize widgetContainer with default spacer during init() instead of
only when extension widgets change.

fixes #655
This commit is contained in:
Mario Zechner 2026-01-12 14:26:22 +01:00
parent 6730b4fa59
commit 175a137d00
2 changed files with 2 additions and 0 deletions

View file

@ -456,6 +456,7 @@ export class InteractiveMode {
this.ui.addChild(this.pendingMessagesContainer);
this.ui.addChild(this.statusContainer);
this.ui.addChild(this.widgetContainer);
this.renderWidgets(); // Initialize with default spacer
this.ui.addChild(this.editorContainer);
this.ui.addChild(this.footer);
this.ui.setFocus(this.editor);