Skip to content

Commit

Permalink
Merge pull request tv2#168 from olzzon/feat/advanced-ch-strip
Browse files Browse the repository at this point in the history
fix: full ch strip - typo:  Q value always changed channel 0
  • Loading branch information
olzzon authored Nov 2, 2020
2 parents b3f9218 + c0f870d commit f16d418
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/components/ChanStripFull.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ class ChanStripFull extends React.PureComponent<
<div className="parameter-mini-text">
{Math.round(
(maxLabel - minLabel) *
this.props.fader[0][fxParam]?.[0] +
this.props.fader[this.props.faderIndex][fxParam]?.[0] +
minLabel
)}
{valueLabel}
Expand All @@ -534,7 +534,7 @@ class ChanStripFull extends React.PureComponent<
min={0}
max={1}
step={0.01}
value={this.props.fader[0][fxParam]?.[0]}
value={this.props.fader[this.props.faderIndex][fxParam]?.[0]}
renderThumb={(props: any, state: any) => (
<div {...props}>
{Math.round(
Expand Down

0 comments on commit f16d418

Please sign in to comment.