mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: fixing update of inactive theme
This commit is contained in:
parent
401e61a6ec
commit
b999da31d4
7 changed files with 38 additions and 19 deletions
|
|
@ -366,7 +366,6 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
/* Editor */
|
||||
openEditorWindow: (themeId: string) =>
|
||||
ipcRenderer.invoke("openEditorWindow", themeId),
|
||||
injectCSS: (cssString: string) => ipcRenderer.invoke("injectCSS", cssString),
|
||||
onCssInjected: (cb: (cssString: string) => void) => {
|
||||
const listener = (_event: Electron.IpcRendererEvent, cssString: string) =>
|
||||
cb(cssString);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue