Fix styling and add "db"

This commit is contained in:
Matthew Stratford 2020-05-10 23:14:17 +01:00
parent c04e786647
commit 1e8ae74950

View file

@ -28,6 +28,7 @@ export default function ProModeButtons({ channel }: { channel: number }) {
{activeButton === "trim" && ( {activeButton === "trim" && (
<> <>
<input <input
className="mx-2"
type="range" type="range"
min={-12} min={-12}
max={12} max={12}
@ -37,7 +38,7 @@ export default function ProModeButtons({ channel }: { channel: number }) {
dispatch(setChannelTrim(channel, parseFloat(e.target.value))) dispatch(setChannelTrim(channel, parseFloat(e.target.value)))
} }
/> />
<b>{trimVal}</b> <b>{trimVal} dB</b>
</> </>
)} )}
</div> </div>