aboutsummaryrefslogtreecommitdiff
path: root/src/Text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text.cpp')
-rw-r--r--src/Text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text.cpp b/src/Text.cpp
index c8da55c..204c16f 100644
--- a/src/Text.cpp
+++ b/src/Text.cpp
@@ -193,7 +193,7 @@ namespace dchat
{
textElement.position.y = glyphPos.y;
// TODO: Find a better way to do this, @totalHeight is wrong because we add emojiSize and then vspace
- glyphPos.y += emojiSize;
+ glyphPos.y += emojiSize - vspace;
}
else
{