aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ImageViewer.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/ImageViewer.hpp b/include/ImageViewer.hpp
index 182a6a2..c1fb6ad 100644
--- a/include/ImageViewer.hpp
+++ b/include/ImageViewer.hpp
@@ -61,7 +61,6 @@ namespace QuickMedia {
int current_page;
int num_pages;
- int page_center;
std::string content_title;
std::string chapter_title;
@@ -69,8 +68,8 @@ namespace QuickMedia {
double scroll = 0.0;
double scroll_speed = 0.0;
- double min_page_center_dist;
- int page_closest_to_center;
+ double min_page_top_dist;
+ int page_closest_to_top;
int focused_page;
int prev_focused_page = -1;