diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-03-26 00:36:39 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-03-26 00:36:39 +0100 |
commit | d96e65b2abf2a569a4be4c160fa30a504abdb2fc (patch) | |
tree | 5b1f71b034571cf5b695b0235342debc2ec55e60 /src/Body.cpp | |
parent | 1aec2bb2708b1b9597e06a7e6324a7dadf73bb80 (diff) |
Bye bye construct, we use /event to get event by id instead of /context
Diffstat (limited to 'src/Body.cpp')
-rw-r--r-- | src/Body.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |