From ad678b5a1b7f457378b1d8ae7cdaf3ee7a08eb75 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 8 Sep 2021 10:38:28 +0200 Subject: Fix manga scroll view jumping, clamp to top/bottom, remove direct dependency on opengl --- include/ImageViewer.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 size; + sf::Vector2 prev_size; bool loaded; }; -- cgit v1.2.3