aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-08-06 20:30:23 +0200
committerdec05eba <dec05eba@protonmail.com>2019-08-06 20:30:26 +0200
commit2ef70224b6db20cd9916063cbd720fa544f3820b (patch)
tree2a9509c1dddae238233c77b607b95cc7fb56f1e2 /include
parent59988161a000851a4f0bc90f3fdcfe375571db35 (diff)
Scroll content when selected item is outside window view
Diffstat (limited to 'include')
-rw-r--r--include/Body.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index e854e76..65aae8d 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -49,6 +49,7 @@ namespace QuickMedia {
std::vector<std::unique_ptr<BodyItem>> items;
std::vector<std::shared_ptr<sf::Texture>> item_thumbnail_textures;
std::thread thumbnail_load_thread;
+ bool draw_thumbnails;
private:
std::shared_ptr<sf::Texture> load_thumbnail_from_url(const std::string &url);
bool loading_thumbnail;