aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-02-11 01:33:39 +0100
committerdec05eba <dec05eba@protonmail.com>2022-02-11 01:33:39 +0100
commitce947e27e50f5439c3f41526998e0f4dee197d86 (patch)
tree0796eaa8df61d7e8c2bd143b4cf3f234de76cdbd
parent224a38f931e24ffad8c99c5b02fd8939783de852 (diff)
ImageViewer: start at top of current page
-rw-r--r--TODO3
-rw-r--r--src/ImageViewer.cpp2
2 files changed, 2 insertions, 3 deletions
diff --git a/TODO b/TODO
index 0d3d941..3831666 100644
--- a/TODO
+++ b/TODO
@@ -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