From dd30bd3caebf91e8abf554f13ff01ee88e79946d Mon Sep 17 00:00:00 2001 From: xenakios Date: Fri, 16 Feb 2018 13:51:48 +0200 Subject: [PATCH] Forget using the gradient for now --- Source/PluginEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index f85d351..455a8b4 100644 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -1048,7 +1048,7 @@ void PerfMeterComponent::paint(Graphics & g) double amt = m_proc->getPreBufferingPercent(); g.setColour(Colours::green); int w = amt * getWidth(); - g.setGradientFill(m_gradient); + //g.setGradientFill(m_gradient); g.fillRect(0, 0, w, getHeight()); g.setColour(Colours::white); g.drawRect(0, 0, getWidth(), getHeight());