diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-05-29 13:22:16 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-05-29 13:22:16 +0200 |
commit | f97f67ebd6a9cd3b5a2b7ee295dad7dbb8fb2828 (patch) | |
tree | 7e0b55dbe0a7887d9db7c6396cd4a7ac205496fa /include | |
parent | b6d0849845b87df7b8d733befc9773752aa08f53 (diff) |
Fix scroll position after lazy load on youtube, scroll in room after new message in matrix
Diffstat (limited to 'include')
-rw-r--r-- | include/Body.hpp | 2 |
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); |