From 57a1a578cf4ec29a836ecfc7b906409b8082b6ba Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Wed, 22 Jan 2020 14:14:47 -0500 Subject: [PATCH] Respond to user feedback by tighteing green line Addresses #1499 --- src/common/gui/CSurgeSlider.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/common/gui/CSurgeSlider.cpp b/src/common/gui/CSurgeSlider.cpp index 1301eb40e89..83f15cb71d6 100644 --- a/src/common/gui/CSurgeSlider.cpp +++ b/src/common/gui/CSurgeSlider.cpp @@ -296,8 +296,8 @@ void CSurgeSlider::draw(CDrawContext* dc) std::vector 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 ) { @@ -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 ); + */ } }