fix askview
This commit is contained in:
parent
8c5b10281a
commit
69053f4c0f
@ -921,14 +921,6 @@ export class AskView extends LitElement {
|
|||||||
this.showTextInput = false;
|
this.showTextInput = false;
|
||||||
this.requestUpdate();
|
this.requestUpdate();
|
||||||
});
|
});
|
||||||
ipcRenderer.on('clear-ask-response', () => {
|
|
||||||
console.log('📤 Clear response signal received');
|
|
||||||
this.currentResponse = '';
|
|
||||||
this.isStreaming = false;
|
|
||||||
this.isLoading = false;
|
|
||||||
this.headerText = 'AI Response';
|
|
||||||
this.requestUpdate();
|
|
||||||
});
|
|
||||||
ipcRenderer.on('window-hide-animation', () => {
|
ipcRenderer.on('window-hide-animation', () => {
|
||||||
console.log('📤 Ask window hiding - clearing response content');
|
console.log('📤 Ask window hiding - clearing response content');
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
@ -977,7 +969,6 @@ export class AskView extends LitElement {
|
|||||||
if (window.require) {
|
if (window.require) {
|
||||||
const { ipcRenderer } = window.require('electron');
|
const { ipcRenderer } = window.require('electron');
|
||||||
ipcRenderer.removeListener('ask-global-send', this.handleGlobalSendRequest);
|
ipcRenderer.removeListener('ask-global-send', this.handleGlobalSendRequest);
|
||||||
ipcRenderer.removeListener('clear-ask-response', () => { });
|
|
||||||
ipcRenderer.removeListener('hide-text-input', () => { });
|
ipcRenderer.removeListener('hide-text-input', () => { });
|
||||||
ipcRenderer.removeListener('window-hide-animation', () => { });
|
ipcRenderer.removeListener('window-hide-animation', () => { });
|
||||||
ipcRenderer.removeListener('window-blur', this.handleWindowBlur);
|
ipcRenderer.removeListener('window-blur', this.handleWindowBlur);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user