From 275cb68f08f4fa5bb5a970ea016c7c45269964c9 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 17 Jun 2021 05:13:42 +0200 Subject: Better body item size handling, better styling when touch is enabled or shaders fail to load --- include/Body.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/Body.hpp b/include/Body.hpp index 7d19cf5..8fffcb0 100644 --- a/include/Body.hpp +++ b/include/Body.hpp @@ -151,7 +151,7 @@ namespace QuickMedia { std::string post_number; void *userdata; // Not managed, should be deallocated by whoever sets this float loaded_height = 0.0f; - float loaded_image_height = 0.0f; + sf::Vector2f loaded_image_size; float loaded_content_height = 0.0f; FetchStatus embedded_item_status = FetchStatus::NONE; // Important! Should refer to a new BodyItem, not one that already exists in the body. -- cgit v1.2.3