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

@ -154,7 +154,7 @@ $number-of-channels: 3;
margin: 0; margin: 0;
float: left; float: left;
padding: 0 10px; padding: 0 10px;
border-right: 3px solid white; border-right: 3px solid white;
} }
&.live { &.live {

View file

@ -48,7 +48,7 @@ export function ProModeTab() {
Reset trim when loading a new file Reset trim when loading a new file
</label> </label>
</div> </div>
<hr/> <hr />
<h2>Metering</h2> <h2>Metering</h2>
<p>Turn down these options if suffering from performance issues.</p> <p>Turn down these options if suffering from performance issues.</p>
<div className="form-check"> <div className="form-check">
@ -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) => {