From ef55c93b294d25df8cafef7c32080024ab27e84a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 17 Jun 2021 11:21:33 +0200 Subject: i cant sneed, manganelo creator page removal until fix --- src/Body.cpp | 2 +- src/plugins/Manganelo.cpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/Body.cpp b/src/Body.cpp index 93b9c6f..2df514b 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -1507,7 +1507,7 @@ namespace QuickMedia { } } else if(item->thumbnail_size.x > 0) { if(!show_thumbnail) - item->loaded_image_size.x = body_spacing[body_theme].image_padding_x + content_size.x; + item->loaded_image_size.x = content_size.x; // TODO: Fix. This makes the body item have incorrect position when loading and if the item is merge_with_previous? and has an embedded item //if(!merge_with_previous) // image_height = content_size.y; diff --git a/src/plugins/Manganelo.cpp b/src/plugins/Manganelo.cpp index 5e53451..caa3f9a 100644 --- a/src/plugins/Manganelo.cpp +++ b/src/plugins/Manganelo.cpp @@ -89,9 +89,10 @@ namespace QuickMedia { chapters_body->items = std::move(chapters_items); result_tabs.push_back(Tab{std::move(chapters_body), std::make_unique(page->program, title, url), page->create_search_bar("Search...", SEARCH_DELAY_FILTER)}); - for(Creator &creator : creators) { + // TODO: Fix. Doesn't work because manganelo changes creator url format + /*for(Creator &creator : creators) { result_tabs.push_back(Tab{page->create_body(), std::make_unique(page->program, std::move(creator)), page->create_search_bar("Search...", SEARCH_DELAY_FILTER)}); - } + }*/ return PluginResult::OK; } -- cgit v1.2.3