diff --git a/.vscode/settings.json b/.vscode/settings.json index 8349f220..2285f74f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -12,7 +12,7 @@ ], "eslint.enable": true, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true + "source.fixAll.eslint": "explicit" }, "search.exclude": { ".eslintcache": true diff --git a/electron/main/trayIcon.ts b/electron/main/trayIcon.ts index 0f123828..52ed9650 100644 --- a/electron/main/trayIcon.ts +++ b/electron/main/trayIcon.ts @@ -62,16 +62,17 @@ export default class TrayIcon { } }, }, - { - label: 'Disable Click-Through', - type: 'normal', - click: () => { - log.info('Disabling Click-Through'); - this.store.set('savedWindowState.isClickThrough', false); + // should not be needed anymore, the previous menu item should be enough + // { + // label: 'Disable Click-Through', + // type: 'normal', + // click: () => { + // log.info('Disabling Click-Through'); + // this.store.set('savedWindowState.isClickThrough', false); - this.overlay.setIgnoreMouseEvents(false); - }, - }, + // this.overlay.setIgnoreMouseEvents(false); + // }, + // }, { label: 'Exit', click: () => { diff --git a/src/components/header/Dropdown.vue b/src/components/header/Dropdown.vue index 0b4abe13..dc168551 100644 --- a/src/components/header/Dropdown.vue +++ b/src/components/header/Dropdown.vue @@ -21,9 +21,9 @@
  • {{ t('header.dropdown.settings') }}
  • -
  • +
  • {{ t('header.dropdown.toggle-color-theme') }}
  • @@ -94,10 +94,10 @@ const toggleTheme = () => { ipcRenderer.send(IpcEvent.Rerender, 'child'); }; -const setClickThrough = () => { - document.querySelector('details')?.removeAttribute('open'); - ipcRenderer.send(IpcEvent.SetClickThrough); -}; +// const setClickThrough = () => { +// document.querySelector('details')?.removeAttribute('open'); +// ipcRenderer.send(IpcEvent.SetClickThrough); +// }; const emitVanish = () => { document.querySelector('details')?.removeAttribute('open'); diff --git a/src/components/settings/KapChat.vue b/src/components/settings/KapChat.vue index e4669ce5..7a4fb6dc 100644 --- a/src/components/settings/KapChat.vue +++ b/src/components/settings/KapChat.vue @@ -1,3 +1,4 @@ +