diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-06-27 09:31:22 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-06-27 09:39:25 +0200 |
commit | 7c991b4d29e410c854669b36d707b684c695f047 (patch) | |
tree | 57941a778c26dcf067e5a425f7e188e06a8197b2 /src/Body.cpp | |
parent | d004af8344758a6d9412a0dba83702f43f6805ee (diff) |
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.
Diffstat (limited to 'src/Body.cpp')
-rw-r--r-- | src/Body.cpp | 18 |
1 files changed, 10 insertions, 8 deletions
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; } |