From 4b00d02b124070064b0a8cbd3a8178c599a2a88c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 28 Sep 2020 13:39:42 +0200 Subject: Fix matrix body size incorrect and obscured by chat input --- src/QuickMedia.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)); -- cgit v1.2.3