aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-09-28 13:39:42 +0200
committerdec05eba <dec05eba@protonmail.com>2020-09-28 13:39:42 +0200
commit4b00d02b124070064b0a8cbd3a8178c599a2a88c (patch)
tree012cd0d36d64487c3636bc073bc326c43b316de8 /src
parent4277763df5c1dac8ff389d3bfd138f03acc7f1e2 (diff)
Fix matrix body size incorrect and obscured by chat input
Diffstat (limited to 'src')
-rw-r--r--src/QuickMedia.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index a854613..6a10da4 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -3653,7 +3653,7 @@ namespace QuickMedia {
chat_input_shade.setPosition(0.0f, window_size.y - chat_input_shade.getSize().y);
body_pos = sf::Vector2f(body_padding_horizontal, body_padding_vertical + tab_shade_height);
- body_size = sf::Vector2f(body_width, window_size.y - chat_input_shade.getSize().y - body_padding_vertical + tab_shade_height);
+ body_size = sf::Vector2f(body_width, window_size.y - chat_input_shade.getSize().y - body_padding_vertical - tab_shade_height);
//get_body_dimensions(window_size, &chat_input, body_pos, body_size, true);
more_messages_below_rect.setSize(sf::Vector2f(window_size.x, gradient_height));