Skip to content

Commit

Permalink
feat: chan strip zero indicators on eq, comp and monitor mix
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon committed Jan 22, 2020
1 parent e978093 commit b9ec40e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
22 changes: 22 additions & 0 deletions client/assets/css/ChanStrip.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
.chan-strip-body > .parameters {
top: 5px;
left: 2px;
height: 900px;
overflow: auto;
text-align: center;
color: #fff;
Expand All @@ -44,6 +45,27 @@
font-size: 110%;
}

.zero-eq {
width: 63px;
height: 2px;
margin-left: -68px;
margin-top: 111px;
}

.zero-comp {
width: 63px;
height: 2px;
margin-left: -68px;
margin-top: 81px;
}

.zero-monitor {
width: 2px;
height: 20px;
margin-left: -66px;
margin-top: -150px;
}

.parameters > .parameter-text {
list-style-type: none;
text-align: center;
Expand Down
6 changes: 6 additions & 0 deletions client/components/ChanStrip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ class ChanStrip extends React.PureComponent<IChanStripProps & IChanStripInjectPr
this.handleMonitorLevel(event, channelIndex)
}}
/>
<p className="zero-monitor">_______</p>
</li>
)
}
Expand All @@ -253,16 +254,21 @@ class ChanStrip extends React.PureComponent<IChanStripProps & IChanStripInjectPr
</div>
<div className="parameter-group">
{this.threshold()}
<p className="zero-comp">______</p>
{this.ratio()}
<p className="zero-comp">______</p>
</div>
<hr/>
<div className="group-text">
{"EQUALIZER"}
</div>
<div className="parameter-group">
{this.low()}
<p className="zero-eq">_______</p>
{this.mid()}
<p className="zero-eq">_______</p>
{this.high()}
<p className="zero-eq">_______</p>
</div>
<hr/>
<div className="group-text">
Expand Down

0 comments on commit b9ec40e

Please sign in to comment.