From 7c991b4d29e410c854669b36d707b684c695f047 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 27 Jun 2022 09:31:22 +0200 Subject: Allow bookmarking manga from creator page Fix ctrl+v (or one character) search on youtube not switching to card view. Testing fix body navigation back scrolling when it shouldn't. --- src/Body.cpp | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'src/Body.cpp') diff --git a/src/Body.cpp b/src/Body.cpp index f9eb021..5a72165 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -1163,18 +1163,20 @@ namespace QuickMedia { item->prev_height = item->height; if(attach_side == AttachSide::TOP) { - if(index < selected_item) { - page_scroll -= height_diff; - pos.y -= height_diff; - } + // TODO: Remove + // if(index < selected_item) { + // page_scroll -= height_diff; + // pos.y -= height_diff; + // } prev_body_item = item.get(); index = get_next_visible_item(index); } else { - if(index > selected_item) { - page_scroll += height_diff; - pos.y += height_diff; - } + // TODO: Remove + // if(index > selected_item) { + // page_scroll += height_diff; + // pos.y += height_diff; + // } index = prev_index; } -- cgit v1.2.3