diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-04-23 13:30:03 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-04-23 13:30:58 +0200 |
commit | 3ab4127ae3fc3b837f5350509c78db03467500cd (patch) | |
tree | 5f56c61c0129b8dff0f8feea4d6f93d4cd656560 /src/Message.cpp | |
parent | ddff0f1b7ea84f6a1321b8eb8a4d47317873d955 (diff) |
Add support for big emoji if it's the only thing on a line
TODO: Currently message board renders directly to window, it should
render to render target for optimization purpose
Diffstat (limited to 'src/Message.cpp')
-rw-r--r-- | src/Message.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Message.cpp b/src/Message.cpp index 285a722..b72eabe 100644 --- a/src/Message.cpp +++ b/src/Message.cpp @@ -8,7 +8,7 @@ namespace dchat { Message::Message(User *_user, const std::string &_text) : user(_user), - text(sf::String::fromUtf8(_text.begin(), _text.end()), ResourceCache::getFont("fonts/Roboto-Regular.ttf"), 17 * Settings::getScaling(), 0.0f, false) + text(sf::String::fromUtf8(_text.begin(), _text.end()), ResourceCache::getFont("fonts/Roboto-Regular.ttf"), 20 * Settings::getScaling(), 0.0f, false) { } |