diff options
-rw-r--r-- | include/Body.hpp | 2 | ||||
-rw-r--r-- | src/Body.cpp | 4 |
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) |