diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-09-24 02:56:59 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-09-24 03:36:20 +0200 |
commit | 081f5d8f7cb3ef38545164d6fae7d28c07b9dfae (patch) | |
tree | c8124f9d449a5ad5e155801ff56da1b30c1723a6 /src/Body.cpp | |
parent | be1e24edae3a6f388929569269c27c53e28b8921 (diff) |
Fix resize after watching 4chan/matrix video in fullscreen
Diffstat (limited to 'src/Body.cpp')
-rw-r--r-- | src/Body.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Body.cpp b/src/Body.cpp index c53a476..52999e5 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -260,7 +260,8 @@ namespace QuickMedia { return path.c_str() + index; } - // TODO: Do not load thumbnails for images larger than 30mb + // TODO: Do not load thumbnails for images larger than 30mb. + // TODO: Load the thumbnail embedded in the file instead. std::shared_ptr<sf::Texture> Body::load_thumbnail_from_url(const std::string &url, bool local, sf::Vector2i thumbnail_resize_target_size) { auto result = std::make_shared<sf::Texture>(); result->setSmooth(true); |