aboutsummaryrefslogtreecommitdiff
path: root/src/QuickMedia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/QuickMedia.cpp')
-rw-r--r--src/QuickMedia.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index c481d49..a11ce2a 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -511,6 +511,7 @@ namespace QuickMedia {
case Page::EPISODE_LIST:
body->draw_thumbnails = false;
episode_list_page();
+ body->clear_thumbnails();
break;
case Page::IMAGES: {
body->draw_thumbnails = false;
@@ -536,11 +537,13 @@ namespace QuickMedia {
case Page::CONTENT_LIST: {
body->draw_thumbnails = true;
content_list_page();
+ body->clear_thumbnails();
break;
}
case Page::CONTENT_DETAILS: {
body->draw_thumbnails = true;
content_details_page();
+ body->clear_thumbnails();
break;
}
case Page::IMAGE_BOARD_THREAD_LIST: {
@@ -2843,6 +2846,7 @@ namespace QuickMedia {
watched_videos.clear();
video_content_page();
content_url = std::move(prev_content_url);
+ redraw = true;
} else {
navigation_stage = NavigationStage::VIEWING_ATTACHED_IMAGE;
load_image_future = std::async(std::launch::async, [this, &image_board, &attached_image_texture, &attached_image_sprite, &attachment_load_mutex]() -> bool {
@@ -3363,6 +3367,7 @@ namespace QuickMedia {
content_url = selected_item->url;
current_page = Page::VIDEO_CONTENT;
video_content_page();
+ redraw = true;
}
}