From f97f67ebd6a9cd3b5a2b7ee295dad7dbb8fb2828 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 29 May 2021 13:22:16 +0200 Subject: Fix scroll position after lazy load on youtube, scroll in room after new message in matrix --- src/plugins/Matrix.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/plugins/Matrix.cpp') diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp index 552762a..f9cdab5 100644 --- a/src/plugins/Matrix.cpp +++ b/src/plugins/Matrix.cpp @@ -691,7 +691,6 @@ namespace QuickMedia { else body->items.insert(body->items.begin() + (i - 1), std::move(body_item_to_insert)); if((int)i < selected_item && room_body_index > selected_item && body->items.size() > 1 && i != body->items.size() - 1) { - body->select_first_item(); body->select_next_item(); } return; -- cgit v1.2.3