diff --git a/src/components/HDRSliders.jsx b/src/components/HDRSliders.jsx index bd754863..c90547e0 100644 --- a/src/components/HDRSliders.jsx +++ b/src/components/HDRSliders.jsx @@ -24,10 +24,5 @@ export default function HDRSliders(props) { } function setSDRBrightness(monitor, value) { - window.dispatchEvent(new CustomEvent("set-sdr-brightness", { - detail: { - monitor, - value - } - })) + window.ipc.send("set-sdr-brightness", { monitor, value }) }