aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-28 18:53:27 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-28 18:53:27 +0200
commitf234e5787c07c3963f661024a8480f5d6d93a78f (patch)
tree9ea43ca90249474e474d9cb0ff04f7990a84dac5
parentcd663ba4dee4c15413d26a2cd6ce9c191f6fabf3 (diff)
Sigh more shitr
-rw-r--r--include/Body.hpp2
-rw-r--r--src/Body.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index a74c320..36282f3 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -209,7 +209,7 @@ namespace QuickMedia {
void append_items(BodyItems new_items);
// Returns the inserted position
size_t insert_item_by_timestamp(std::shared_ptr<BodyItem> body_item);
- // Note: also moves the selected item forward the number of items inserted before/after it (depending on attach_side)
+ // Note: keeps the selected item (moving the selected_item index if necessary)
void insert_items_by_timestamps(BodyItems new_items);
void clear_cache();
void clear_text_cache();
diff --git a/src/Body.cpp b/src/Body.cpp
index 3acaf3b..a1eb592 100644
--- a/src/Body.cpp
+++ b/src/Body.cpp
@@ -1058,8 +1058,8 @@ namespace QuickMedia {
}
} else if(item->thumbnail_size.x > 0) {
text_offset_x += image_padding_x + content_size.x;
- if(!merge_with_previous)
- image_height = content_size.y;
+ //if(!merge_with_previous)
+ // image_height = content_size.y;
}
if(load_texture)