fix: fixing update of inactive theme

This commit is contained in:
Chubby Granny Chaser
2025-02-16 20:32:18 +00:00
parent 401e61a6ec
commit b999da31d4
7 changed files with 38 additions and 19 deletions

View File

@@ -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);