From de8682ce581cdc3f0886e3edf89b430a7215aea1 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 12 Sep 2021 12:36:13 +0200 Subject: Scroll body list view on item height diff --- include/BodyItem.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/BodyItem.hpp b/include/BodyItem.hpp index 1d967b5..e2f4918 100644 --- a/include/BodyItem.hpp +++ b/include/BodyItem.hpp @@ -145,6 +145,8 @@ namespace QuickMedia { std::string post_number; void *userdata; // Not managed, should be deallocated by whoever sets this float loaded_height = 0.0f; + float height = 0.0f; + float prev_height = 0.0f; sf::Vector2f loaded_image_size; float loaded_content_height = 0.0f; FetchStatus embedded_item_status = FetchStatus::NONE; -- cgit v1.2.3