mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-07 00:20:07 +00:00
Fix theme toggle (#200)
* Use builtin event on color change * Fix theme toggle * Update test expectations [skip ci] --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
@@ -672,12 +672,6 @@ app.registerExtension({
|
||||
}
|
||||
app.canvas.draw(true, true);
|
||||
}
|
||||
|
||||
document.dispatchEvent(
|
||||
new CustomEvent("comfy:setting:color-palette-loaded", {
|
||||
detail: colorPalette,
|
||||
})
|
||||
);
|
||||
};
|
||||
|
||||
const getColorPalette = (colorPaletteId?) => {
|
||||
|
||||
Reference in New Issue
Block a user