From 9775a6bb77930a6e3b60445675990a8c01777aea Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 25 Jul 2021 23:05:35 +0200 Subject: Temporary fix for broken body height when using embedded items (matrix replies) --- src/Body.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/Body.cpp b/src/Body.cpp index 10911e4..6c2cf9e 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -1551,6 +1551,7 @@ namespace QuickMedia { item_height += (get_item_height(item->embedded_item.get(), embedded_item_width, load_texture, false) + 6.0f + body_spacing[body_theme].embedded_item_padding_y * 2.0f); else item_height += ((body_spacing[body_theme].embedded_item_font_size + 5.0f) + 6.0f + body_spacing[body_theme].embedded_item_padding_y * 2.0f); + has_loaded_text = true; } if(item->description_text) { item_height += item->description_text->getHeight() - 2.0f; -- cgit v1.2.3