From 511716ea4e7c9034fbc38f208db5041107f76ee7 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 26 Sep 2020 07:02:50 +0200 Subject: Fix page scroll when navigating 4chan replies --- include/Body.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/Body.hpp b/include/Body.hpp index 2f1644d..008aa70 100644 --- a/include/Body.hpp +++ b/include/Body.hpp @@ -114,6 +114,9 @@ namespace QuickMedia { int get_selected_item() const { return selected_item; } + void set_page_scroll(float scroll) { page_scroll = scroll; } + float get_page_scroll() const { return page_scroll; } + sf::Font *font; sf::Font *bold_font; sf::Font *cjk_font; -- cgit v1.2.3