Skip to content

Commit

Permalink
Actually fix SDR slider for real this time
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderfrangos committed Oct 8, 2024
1 parent 2ec83a9 commit 624dac6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/components/HDRSliders.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
}

0 comments on commit 624dac6

Please sign in to comment.