summaryrefslogtreecommitdiff
path: root/plugingui/slider.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/slider.cc')
-rw-r--r--plugingui/slider.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugingui/slider.cc b/plugingui/slider.cc
index bd28f81..dd2dc44 100644
--- a/plugingui/slider.cc
+++ b/plugingui/slider.cc
@@ -91,7 +91,6 @@ void Slider::setColour(Colour colour)
void Slider::repaintEvent(RepaintEvent* repaintEvent)
{
Painter p(*this);
- p.clear();
auto inner_offset = (current_value / maximum) * getControlWidth();
auto button_x = button_offset + inner_offset - (button.width() / 2);