From 2e348b4bf3ae59af88b9481007fdc7c0a7bec9e1 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 2 Jan 2021 22:06:36 +0100 Subject: Matrix: fix reactions in reply messages --- src/Body.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Body.cpp') diff --git a/src/Body.cpp b/src/Body.cpp index b12ed7f..157ed03 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -841,6 +841,7 @@ namespace QuickMedia { float reaction_offset_x = 0.0f; item_pos.y += reaction_padding_y; float reaction_max_height = 0.0f; + // TODO: Fix first row wrap-around for(int i = 0; i < item->reactions.size(); ++i) { auto &reaction = item->reactions[i]; reaction.text->setMaxWidth(size.x - text_offset_x - image_padding_x); @@ -1027,4 +1028,4 @@ namespace QuickMedia { } return true; } -} \ No newline at end of file +} -- cgit v1.2.3