aboutsummaryrefslogtreecommitdiff
path: root/include/Body.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-06-17 05:13:42 +0200
committerdec05eba <dec05eba@protonmail.com>2021-06-17 05:13:42 +0200
commit275cb68f08f4fa5bb5a970ea016c7c45269964c9 (patch)
tree882bea90f7aea388e5fecfb89c5cf43ee874adf6 /include/Body.hpp
parent4028d87367710a4cd6501314adea58678408351f (diff)
Better body item size handling, better styling when touch is enabled or shaders fail to load
Diffstat (limited to 'include/Body.hpp')
-rw-r--r--include/Body.hpp2
1 files changed, 1 insertions, 1 deletions
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.