diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-14 19:08:25 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-14 19:23:28 +0200 |
commit | 3591c264f14edf300e7d3ea20577c517a092cf50 (patch) | |
tree | 8748986df0943d162f9011b8f0b2115e137a4054 /src/gui | |
parent | c316bd0a9ffdbeb85ea80dc3ca2e731062b45c85 (diff) | |
download | mana-3591c264f14edf300e7d3ea20577c517a092cf50.tar.gz mana-3591c264f14edf300e7d3ea20577c517a092cf50.tar.bz2 mana-3591c264f14edf300e7d3ea20577c517a092cf50.tar.xz mana-3591c264f14edf300e7d3ea20577c517a092cf50.zip |
Fixed alpha to also apply to the main text of a text particle
It was only being applied to the outline and shadow. This improves the
fadeout a little, but because the text is being rendered multiple times,
it still looks strange.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/textrenderer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/textrenderer.h b/src/gui/textrenderer.h index 712c1312..c8ff5833 100644 --- a/src/gui/textrenderer.h +++ b/src/gui/textrenderer.h @@ -50,7 +50,7 @@ class TextRenderer if (shadow) { graphics->setColor(guiPalette->getColor(Palette::SHADOW, - alpha / 2)); + alpha / 2)); if (outline) { graphics->drawText(text, x + 2, y + 2, align); |