aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-09-08 10:38:28 +0200
committerdec05eba <dec05eba@protonmail.com>2021-09-08 10:38:28 +0200
commitad678b5a1b7f457378b1d8ae7cdaf3ee7a08eb75 (patch)
tree3f73f5301a3990a94e29055c08f0a36afae33108 /include
parent0878a8e2f5e7cbc88ee9350caef8f068920707fb (diff)
Fix manga scroll view jumping, clamp to top/bottom, remove direct dependency on opengl
Diffstat (limited to 'include')
-rw-r--r--include/ImageViewer.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ImageViewer.hpp b/include/ImageViewer.hpp
index 43384b4..d503f82 100644
--- a/include/ImageViewer.hpp
+++ b/include/ImageViewer.hpp
@@ -35,6 +35,7 @@ namespace QuickMedia {
struct PageSize {
sf::Vector2<double> size;
+ sf::Vector2<double> prev_size;
bool loaded;
};