diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-12-02 12:28:19 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-12-02 12:28:19 +0100 |
commit | c15aa4decf523b81d87925942642507fe7d02848 (patch) | |
tree | 0320be675b43a53dcc378dd3140237efc8b272cd /src/Body.cpp | |
parent | 55287c0f48db741f93f1be122c6eb12e48ba995c (diff) |
Better layout for different font scale
Diffstat (limited to 'src/Body.cpp')
-rw-r--r-- | src/Body.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Body.cpp b/src/Body.cpp index 5384050..505db2b 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -1677,7 +1677,7 @@ namespace QuickMedia { } if(reaction.text) { - reaction.text->set_position(reaction_background.get_position() + mgl::vec2f(body_spacing[body_theme].reaction_background_padding_x, 0.0f)); + reaction.text->set_position(mgl::vec2f(reaction_background.get_position() + mgl::vec2f(body_spacing[body_theme].reaction_background_padding_x, -(float)reaction.text->get_character_size()*0.18f)).floor()); } if(draw && reaction.text) { |