Bit more prettier

This commit is contained in:
Matthew Stratford 2020-09-20 19:48:12 +01:00
parent 92acadc245
commit f0f36c44bd
3 changed files with 10 additions and 10 deletions

View file

@ -66,9 +66,7 @@ export function ProModeTab() {
) )
} }
/> />
<label className="form-check-label"> <label className="form-check-label">Enable meters per channel</label>
Enable meters per channel
</label>
</div> </div>
<div className="form-check"> <div className="form-check">
<input <input
@ -85,9 +83,7 @@ export function ProModeTab() {
) )
} }
/> />
<label className="form-check-label"> <label className="form-check-label">Use stereo metering</label>
Use stereo metering
</label>
</div> </div>
</> </>
); );

View file

@ -67,8 +67,12 @@ export function Player({ id }: { id: number }) {
) )
); );
const proMode = useSelector((state: RootState) => state.settings.proMode); const proMode = useSelector((state: RootState) => state.settings.proMode);
const vuEnabled = useSelector((state: RootState) => state.settings.channelVUs); const vuEnabled = useSelector(
const vuStereo = useSelector((state: RootState) => state.settings.channelVUsStereo); (state: RootState) => state.settings.channelVUs
);
const vuStereo = useSelector(
(state: RootState) => state.settings.channelVUsStereo
);
const dispatch = useDispatch(); const dispatch = useDispatch();
const VUsource = (id: number) => { const VUsource = (id: number) => {