summaryrefslogtreecommitdiff
path: root/plugingui/knob.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/knob.cc')
-rw-r--r--plugingui/knob.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/knob.cc b/plugingui/knob.cc
index 1a0148f..4516990 100644
--- a/plugingui/knob.cc
+++ b/plugingui/knob.cc
@@ -147,6 +147,8 @@ void GUI::Knob::repaintEvent(GUI::RepaintEvent *e)
{
Painter p(this);
+ p.clear();
+
float alpha = 0.8;
p.setColour(Colour(0, 0));