diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-07-25 23:05:35 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-07-25 23:05:35 +0200 |
commit | 9775a6bb77930a6e3b60445675990a8c01777aea (patch) | |
tree | a795654f7124c34451b6b2049d1aacb3696e3d15 /src | |
parent | 561d446e6871b7aa80c71357d8b2ccf78e4a6a7b (diff) |
Temporary fix for broken body height when using embedded items (matrix replies)
Diffstat (limited to 'src')
-rw-r--r-- | src/Body.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |