From d96e65b2abf2a569a4be4c160fa30a504abdb2fc Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 26 Mar 2021 00:36:39 +0100 Subject: Bye bye construct, we use /event to get event by id instead of /context --- src/Body.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Body.cpp') diff --git a/src/Body.cpp b/src/Body.cpp index 10708f0..de924da 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -1100,7 +1100,7 @@ namespace QuickMedia { item_pos.y += reaction_max_height + reaction_padding_y; } - if(item->timestamp_text) { + if(item_index == selected_item && item->timestamp_text) { item->timestamp_text->setPosition(std::floor(item_pos.x + size.x - item->timestamp_text->getLocalBounds().width - padding_x), timestamp_text_y + 8.0f); window.draw(*item->timestamp_text); } -- cgit v1.2.3