summaryrefslogtreecommitdiff
path: root/plugingui/label.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2018-06-08 01:18:02 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2018-06-08 01:19:19 +0200
commit8f3f22bb5d9d6879bb21d0132a3e0d0af4cd5380 (patch)
treeb3aab48cde087b07d0152b5b6945c3eea305a6ad /plugingui/label.cc
parentf532587d5c3576dc04d4c6eeee20c5dcdf642244 (diff)
Disable bleed control frame if drumkit doesn't support it.
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()