diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-02-11 01:33:39 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-02-11 01:33:39 +0100 |
commit | ce947e27e50f5439c3f41526998e0f4dee197d86 (patch) | |
tree | 0796eaa8df61d7e8c2bd143b4cf3f234de76cdbd | |
parent | 224a38f931e24ffad8c99c5b02fd8939783de852 (diff) |
ImageViewer: start at top of current page
-rw-r--r-- | TODO | 3 | ||||
-rw-r--r-- | src/ImageViewer.cpp | 2 |
2 files changed, 2 insertions, 3 deletions
@@ -216,4 +216,5 @@ Cleanup font sizes that are not visible (or not used for a while). Also do the s Show video upload date in video description on youtube. Add latest read chapter name to manga progress, to easily see from manga list page how we have progressed in the manga. Allow changing manga sorting in gui (especially for local manga). -Allow using ~ and $HOME in config file.
\ No newline at end of file +Allow using ~ and $HOME in config file. +Save manga "I" mode to file and load it on startup.
\ No newline at end of file diff --git a/src/ImageViewer.cpp b/src/ImageViewer.cpp index c18ba92..f568402 100644 --- a/src/ImageViewer.cpp +++ b/src/ImageViewer.cpp @@ -215,8 +215,6 @@ namespace QuickMedia { if(i < current_page) scroll -= scroll_diff; } - - scroll -= (get_page_size(current_page).y * 0.5 - window_size.y * 0.5); } // TODO: Only redraw when scrolling and when image has finished downloading |