summaryrefslogtreecommitdiff
path: root/plugingui/checkbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/checkbox.cc')
-rw-r--r--plugingui/checkbox.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/checkbox.cc b/plugingui/checkbox.cc
index 5888d3c..da3ce4b 100644
--- a/plugingui/checkbox.cc
+++ b/plugingui/checkbox.cc
@@ -74,6 +74,8 @@ void GUI::CheckBox::repaintEvent(GUI::RepaintEvent *e)
Painter p(this);
+ p.clear();
+
float alpha = 0.8;
int box = width()<height()?width():height();