aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-06-17 11:21:33 +0200
committerdec05eba <dec05eba@protonmail.com>2021-06-17 11:21:33 +0200
commitef55c93b294d25df8cafef7c32080024ab27e84a (patch)
treefb103a386a6fb6bb52e4b2b0b6cd643ce5834ff4
parent4b99e44bfc320d01f6727c85be878bb72eb12257 (diff)
i cant sneed, manganelo creator page removal until fix
-rw-r--r--src/Body.cpp2
-rw-r--r--src/plugins/Manganelo.cpp5
2 files changed, 4 insertions, 3 deletions
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<ManganeloChaptersPage>(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<ManganeloCreatorPage>(page->program, std::move(creator)), page->create_search_bar("Search...", SEARCH_DELAY_FILTER)});
- }
+ }*/
return PluginResult::OK;
}