aboutsummaryrefslogtreecommitdiff
path: root/src/Body.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-08-16 21:13:24 +0200
committerdec05eba <dec05eba@protonmail.com>2021-08-16 21:13:24 +0200
commit5cc735b22570f1667d62958e59ce4910b529f5af (patch)
tree75128a8926a48a612bc892d266032bd7afd9c2cf /src/Body.cpp
parentde4825e548b990493b372237cbef9a790bf114c4 (diff)
Add MyAnimeList (wip)
Diffstat (limited to 'src/Body.cpp')
-rw-r--r--src/Body.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Body.cpp b/src/Body.cpp
index c3cbcda..b7424c5 100644
--- a/src/Body.cpp
+++ b/src/Body.cpp
@@ -115,8 +115,8 @@ namespace QuickMedia {
embedded_item_load_text = sf::Text("", *FontLoader::get_font(FontLoader::FontType::LATIN), body_spacing[body_theme].embedded_item_font_size);
progress_text.setFillColor(get_current_theme().text_color);
replies_text.setFillColor(get_current_theme().replies_text_color);
- thumbnail_max_size.x = 250;
- thumbnail_max_size.y = 141;
+ thumbnail_max_size.x = 600;
+ thumbnail_max_size.y = 337;
sf::Vector2f loading_icon_size(loading_icon.getTexture()->getSize().x, loading_icon.getTexture()->getSize().y);
loading_icon.setOrigin(loading_icon_size.x * 0.5f, loading_icon_size.y * 0.5f);
render_selected_item_bg = !is_touch_enabled();
@@ -923,7 +923,7 @@ namespace QuickMedia {
if(item->thumbnail_size.x > 0 && item->thumbnail_size.y > 0)
content_size = clamp_to_size(sf::Vector2i(std::floor(item->thumbnail_size.x * get_ui_scale()), std::floor(item->thumbnail_size.y * get_ui_scale())), thumbnail_max_size_scaled);
else
- content_size = thumbnail_max_size_scaled;
+ content_size = sf::Vector2i(250 * get_ui_scale(), 141 * get_ui_scale());
return content_size;
}