summaryrefslogtreecommitdiff
path: root/plugingui/label.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/label.cc')
-rw-r--r--plugingui/label.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugingui/label.cc b/plugingui/label.cc
index dc5fe23..b5239ec 100644
--- a/plugingui/label.cc
+++ b/plugingui/label.cc
@@ -52,11 +52,13 @@ void Label::setAlignment(TextAlignment alignment)
void Label::setColour(Colour colour)
{
this->colour = std::make_unique<Colour>(colour);
+ redraw();
}
void Label::resetColour()
{
colour.release();
+ redraw();
}
void Label::resizeToText()