Skip to content

Commit

Permalink
fix: Y axis in graphics Eq only draw minValue
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon authored and olzzon committed Oct 29, 2020
1 parent 75c5944 commit 61300dc
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 @@ -271,11 +271,11 @@ class ChanStripFull extends React.PureComponent<
<Draggable
position={{
x: this.valueToFreqPosition(
this.props.fader[this.props.faderIndex][eqFreqKey]?.[0] ?? 0
(this.props.fader[this.props.faderIndex][eqFreqKey]?.[0] ?? 0)
),
y:
EQ_Y_SIZE -
this.props.fader[this.props.faderIndex][fxParamsList[fxKey]]?.[0] ?? 0 *
(this.props.fader[this.props.faderIndex][fxParamsList[fxKey]]?.[0] ?? 0) *
EQ_Y_SIZE,
}}
grid={[1, 1]}
Expand Down

0 comments on commit 61300dc

Please sign in to comment.