aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ImageViewer.cpp2
1 files changed, 0 insertions, 2 deletions
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