aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-08-05 21:09:52 +0200
committerdec05eba <dec05eba@protonmail.com>2019-08-05 21:09:55 +0200
commit458bec27a375a94a4fbdcc547c3cfff05583985f (patch)
treeae0e3a9ab14c4f1cae744de0b88a6f43fc86fa24 /src
parentb894f0b2283a4fcd42fc41f9517b16d623ae3adb (diff)
Increase thumbnail size
Diffstat (limited to 'src')
-rw-r--r--src/Body.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Body.cpp b/src/Body.cpp
index 5b58df8..79bb3c0 100644
--- a/src/Body.cpp
+++ b/src/Body.cpp
@@ -95,7 +95,7 @@ namespace QuickMedia {
// TODO: Load images asynchronously to prevent scroll lag and to improve load time of suggestions.
void Body::draw(sf::RenderWindow &window, sf::Vector2f pos, sf::Vector2f size) {
const float font_height = title_text.getCharacterSize() + 8.0f;
- const float image_height = 50.0f;
+ const float image_height = 100.0f;
sf::RectangleShape image_fallback(sf::Vector2f(50, image_height));
image_fallback.setFillColor(sf::Color::White);