aboutsummaryrefslogtreecommitdiff
path: root/src/Body.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-09-13 21:59:09 +0200
committerdec05eba <dec05eba@protonmail.com>2020-09-13 21:59:09 +0200
commit3facc8725c6b6330df016ec98636058192cf91f3 (patch)
tree798a758803f11b77dc3b7e9b0f86780cfc9052a9 /src/Body.cpp
parenta73eb41773d3f70867358bbef26563ca431b0908 (diff)
Clear thumbnails when navigating to another page, temporary revert font size because of rendering bug
Diffstat (limited to 'src/Body.cpp')
-rw-r--r--src/Body.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Body.cpp b/src/Body.cpp
index b4ab917..0f47a2b 100644
--- a/src/Body.cpp
+++ b/src/Body.cpp
@@ -175,7 +175,7 @@ namespace QuickMedia {
if(body_item->title_text)
body_item->title_text->setString(body_item->get_title());
else
- body_item->title_text = std::make_unique<Text>(body_item->get_title(), bold_font, 16, size.x - 50 - image_padding_x * 2.0f);
+ body_item->title_text = std::make_unique<Text>(body_item->get_title(), font, 14, size.x - 50 - image_padding_x * 2.0f);
//body_item->title_text->updateGeometry(); // TODO: Call this to make getHeight work on first frame (called below)
}