Skip to content

Commit

Permalink
Fix step seq cell spacing in unipolar mode (#5068)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkruselj authored Sep 13, 2021
1 parent bbbd926 commit 7af2f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/widgets/LFOAndStepDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ void LFOAndStepDisplay::paintStepSeq(juce::Graphics &g)
if (isUnipolar())
{
auto sv = std::max(ss->steps[i], 0.f);
v = v.withTrimmedTop((int)(v.getHeight() * (1 - sv)));
v = v.withTrimmedTop((int)(v.getHeight() * (1 - sv))).withTrimmedRight(1);
}
else
{
Expand Down

0 comments on commit 7af2f71

Please sign in to comment.