summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugingui/powerwidget.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/powerwidget.cc b/plugingui/powerwidget.cc
index 3cb289a..02e7253 100644
--- a/plugingui/powerwidget.cc
+++ b/plugingui/powerwidget.cc
@@ -71,7 +71,7 @@ void PowerWidget::repaintEvent(GUI::RepaintEvent *repaintEvent)
void PowerWidget::resize(std::size_t width, std::size_t height)
{
Widget::resize(width, height);
- if(width < 14 || height < 14)
+ if(width < (14 + 59 + 64) || height < 14)
{
canvas.resize(1, 1);
return;