summaryrefslogtreecommitdiff
path: root/plugingui/button.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/button.cc')
-rw-r--r--plugingui/button.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugingui/button.cc b/plugingui/button.cc
index b65f318..85d5425 100644
--- a/plugingui/button.cc
+++ b/plugingui/button.cc
@@ -64,7 +64,9 @@ void GUI::Button::repaintEvent(GUI::RepaintEvent *e)
Painter p(this);
- float alpha = 0.8;
+ p.clear();
+
+ float alpha = 0.9;
if(hasKeyboardFocus()) {
p.setColour(Colour(0.6, alpha));