diff options
Diffstat (limited to 'src/MessageBoard.cpp')
-rw-r--r-- | src/MessageBoard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MessageBoard.cpp b/src/MessageBoard.cpp index bc53ae3..8e1525f 100644 --- a/src/MessageBoard.cpp +++ b/src/MessageBoard.cpp @@ -215,7 +215,7 @@ namespace dchat } // No need to perform culling here, that is done in @Text draw function - message->text.setCharacterSize(18 * Settings::getScaling()); + message->text.setCharacterSize(18.0f * Settings::getScaling()); message->text.setMaxWidth(backgroundSize.x - (AVATAR_DIAMETER + AVATAR_PADDING_SIDE) * Settings::getScaling()); message->text.setPosition(sf::Vector2f(floor(position.x + (AVATAR_DIAMETER + AVATAR_PADDING_SIDE) * Settings::getScaling()), floor(position.y))); message->text.setLineSpacing(LINE_SPACING); |