diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Body.cpp | 2 | ||||
-rw-r--r-- | src/QuickMedia.cpp | 3 |
2 files changed, 4 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) } diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index da280d8..4b528cf 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -227,6 +227,7 @@ namespace QuickMedia { case Page::SEARCH_SUGGESTION: body->draw_thumbnails = current_plugin->search_suggestions_has_thumbnails(); search_suggestion_page(); + body->clear_thumbnails(); break; #if 0 case Page::SEARCH_RESULT: @@ -273,11 +274,13 @@ namespace QuickMedia { case Page::IMAGE_BOARD_THREAD_LIST: { body->draw_thumbnails = true; image_board_thread_list_page(); + body->clear_thumbnails(); break; } case Page::IMAGE_BOARD_THREAD: { body->draw_thumbnails = true; image_board_thread_page(); + body->clear_thumbnails(); break; } default: |