Skip to content

Commit

Permalink
closing out inline chat while speech is going does not stop audio (fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero authored May 29, 2024
1 parent c2667dd commit 6dc91d8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ export class InlineChatZoneWidget extends ZoneWidget {

super.show(position, this._computeHeightInLines());
this._setWidgetMargins(position);
this.widget.chatWidget.setVisible(true);
this.widget.focus();

scrollState.restore(this.editor);
Expand Down Expand Up @@ -209,6 +210,7 @@ export class InlineChatZoneWidget extends ZoneWidget {
this.container!.classList.remove('inside-selection');
this._ctxCursorPosition.reset();
this.widget.reset();
this.widget.chatWidget.setVisible(false);
super.hide();
aria.status(localize('inlineChatClosed', 'Closed inline chat widget'));
}
Expand Down

0 comments on commit 6dc91d8

Please sign in to comment.