This commit is contained in:
Rob Lourens 2026-02-03 14:49:23 -08:00
parent 4e0713fc08
commit 53aaf4ac09
No known key found for this signature in database
2 changed files with 1 additions and 3 deletions

View File

@ -1665,7 +1665,6 @@ export class ChatWidget extends Disposable implements IChatWidget {
defaultMode: this.viewOptions.defaultMode,
sessionTypePickerDelegate: this.viewOptions.sessionTypePickerDelegate,
workspacePickerDelegate: this.viewOptions.workspacePickerDelegate,
isQuickChat: isQuickChat(this)
};
if (this.viewModel?.editing) {

View File

@ -151,7 +151,6 @@ export interface IChatInputPartOptions {
supportsChangingModes?: boolean;
dndContainer?: HTMLElement;
widgetViewKindTag: string;
isQuickChat?: boolean;
/**
* Optional delegate for the session target picker.
* When provided, allows the input part to maintain independent state for the selected session type.
@ -2142,7 +2141,7 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
}));
this._register(inputResizeObserver.observe(this.container));
if (this.options.renderStyle === 'compact' && this.options.isQuickChat) {
if (this.options.renderStyle === 'compact') {
const toolbarsResizeObserver = this._register(new dom.DisposableResizeObserver(() => {
// Have to layout the editor when the toolbars change size, when they share width with the editor.
// This handles ensuring we layout when quick chat is shown/hidden.