diff options
Diffstat (limited to 'src/particle')
-rw-r--r-- | src/particle/textparticle.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/particle/textparticle.cpp b/src/particle/textparticle.cpp index aa506e75f..eb67a1c0d 100644 --- a/src/particle/textparticle.cpp +++ b/src/particle/textparticle.cpp @@ -22,6 +22,8 @@ #include "particle/textparticle.h" +#include "enums/gui/themecolorid.h" + #include "gui/theme.h" #include "gui/fonts/font.h" @@ -77,7 +79,7 @@ void TextParticle::draw(Graphics *const graphics, graphics->setColor(color); if (mOutline) { - const Color &color2 = theme->getColor(Theme::OUTLINE, + const Color &color2 = theme->getColor(ThemeColorId::OUTLINE, static_cast<int>(alpha)); mTextFont->drawString(graphics, color, color2, |