aboutsummaryrefslogtreecommitdiff
path: root/include/Body.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-29 13:22:16 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-29 13:22:16 +0200
commitf97f67ebd6a9cd3b5a2b7ee295dad7dbb8fb2828 (patch)
tree7e0b55dbe0a7887d9db7c6396cd4a7ac205496fa /include/Body.hpp
parentb6d0849845b87df7b8d733befc9773752aa08f53 (diff)
Fix scroll position after lazy load on youtube, scroll in room after new message in matrix
Diffstat (limited to 'include/Body.hpp')
-rw-r--r--include/Body.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index 36282f3..a7b0045 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -202,7 +202,7 @@ namespace QuickMedia {
// Returns -1 if item can't be found
int get_index_by_body_item(BodyItem *body_item);
- void select_first_item();
+ void select_first_item(bool reset_page_scroll = true);
void select_last_item();
void clear_items();
void prepend_items_reverse(BodyItems new_items);