diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-10-21 03:12:35 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-10-21 03:12:35 +0200 |
commit | ea6f1b425a6aa9b7145a00d81473ef9508279eec (patch) | |
tree | 61f3d59aa277b889ed149cf6ccd5fc9dc2b836c8 /include/Body.hpp | |
parent | f126659965425ee5f5a3851fbe83ae532e48c478 (diff) |
Fix thumbnail fallback size being incorrect, incorrect read marker for matrix
Diffstat (limited to 'include/Body.hpp')
-rw-r--r-- | include/Body.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Body.hpp b/include/Body.hpp index ce61811..7bf89e2 100644 --- a/include/Body.hpp +++ b/include/Body.hpp @@ -217,6 +217,7 @@ namespace QuickMedia { void draw_item(sf::RenderWindow &window, BodyItem *item, const sf::Vector2f &pos, const sf::Vector2f &size, const float item_height, const int item_index, const Json::Value &content_progress, bool include_embedded_item = true); void update_dirty_state(BodyItem *body_item, sf::Vector2f size); void clear_body_item_cache(BodyItem *body_item); + sf::Vector2i get_item_thumbnail_size(BodyItem *item) const; private: Program *program; std::unordered_map<std::string, std::shared_ptr<ThumbnailData>> item_thumbnail_textures; |