aboutsummaryrefslogtreecommitdiff
path: root/src/BodyItem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/BodyItem.cpp')
-rw-r--r--src/BodyItem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BodyItem.cpp b/src/BodyItem.cpp
index bf6e45d..8fd5362 100644
--- a/src/BodyItem.cpp
+++ b/src/BodyItem.cpp
@@ -72,7 +72,7 @@ namespace QuickMedia {
void BodyItem::add_reaction(std::string text, void *userdata) {
sf::String str = sf::String::fromUtf8(text.begin(), text.end());
Reaction reaction;
- reaction.text = std::make_unique<Text>(std::move(str), false, std::floor(14 * get_ui_scale()), 0.0f);
+ reaction.text = std::make_unique<Text>(std::move(str), false, std::floor(14 * get_ui_scale() * get_font_scale()), 0.0f);
reaction.userdata = userdata;
reactions.push_back(std::move(reaction));
}