Skip to content

Commit

Permalink
Respond to user feedback by tighteing green line
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul committed Jan 22, 2020
1 parent d711325 commit 57a1a57
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/common/gui/CSurgeSlider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@ void CSurgeSlider::draw(CDrawContext* dc)
std::vector<CRect> drawThese;
if (style & CSlider::kHorizontal)
{
trect.top += 7;
trect.bottom = trect.top + 4;
trect.top += 8;
trect.bottom = trect.top + 2;
float modDistance = 40;
if( ! modulation_is_bipolar )
{
Expand Down Expand Up @@ -379,11 +379,13 @@ void CSurgeSlider::draw(CDrawContext* dc)
{
dc->setFillColor( ColBar );
dc->drawRect( r, VSTGUI::kDrawFilled );
/*
dc->setLineWidth( 0.5 );
dc->setFrameColor( VSTGUI::kBlackCColor );
r.right += 0.9;
r.bottom += 0.9;
dc->drawRect( r, VSTGUI::kDrawStroked );
*/
}
}

Expand Down

0 comments on commit 57a1a57

Please sign in to comment.