Disable traces of experimental MIDI UI.

This commit is contained in:
Robin E. R. Davies
2025-07-20 11:52:26 -04:00
parent 43e067fb6f
commit 8bee485c9f
7 changed files with 28 additions and 16 deletions
+2 -1
View File
@@ -43,6 +43,7 @@ import {
} from './Pedalboard';
import MidiIcon from './svg/ic_midi.svg?react';
import { midiChannelBindingControlFeatureEnabled } from './MidiChannelBinding';
const START_CONTROL = Pedalboard.START_CONTROL;
@@ -995,7 +996,7 @@ withStyles(
const classes = withStyles.getClasses(this.props);
return (
<div className={hasBorder ? classes.iconFrame : classes.borderlessIconFrame} onContextMenu={(e) => { e.preventDefault(); }}>
{hasMidiConnector && (
{hasMidiConnector && midiChannelBindingControlFeatureEnabled && (
<div className={classes.midiConnectorDecoration} >
<MidiIcon style={{ width: 16, height: 16, fill: this.props.theme.palette.text.secondary }} />
</div>