mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
Fixed an issue where text transparencies would not work.
This commit is contained in:
parent
285d2a7bcc
commit
0e9e47e090
|
@ -256,6 +256,9 @@ void TextComponent::onTextChanged()
|
|||
f->wrapText(text, mSize.x), glm::vec2 {}, (mColor >> 8 << 8) | mOpacity, mSize.x,
|
||||
mHorizontalAlignment, mLineSpacing, mNoTopMargin));
|
||||
}
|
||||
|
||||
// This is required to set the color transparency.
|
||||
onColorChanged();
|
||||
}
|
||||
|
||||
void TextComponent::onColorChanged()
|
||||
|
|
Loading…
Reference in a new issue