diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-02-09 15:29:29 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-02-09 15:29:29 +0100 |
commit | 2e22afbaa5c01d9aa40564a7646092455ce0d88c (patch) | |
tree | e27dbad9eacc7732b1fad1dd44f075144da332b9 /src/Body.cpp | |
parent | bc7ef0c3fab69c4ef47aa8f50da9f5818d00bc88 (diff) |
Matrix: put an end to my unread messages misery
Diffstat (limited to 'src/Body.cpp')
-rw-r--r-- | src/Body.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Body.cpp b/src/Body.cpp index 88bada4..44d1a2d 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -228,6 +228,10 @@ namespace QuickMedia { //page_scroll = 0.0f; } + void Body::reset_prev_selected_item() { + prev_selected_item = selected_item; + } + int Body::get_index_by_body_item(BodyItem *body_item) { for(int i = 0; i < (int)items.size(); ++i) { if(items[i].get() == body_item) |