aboutsummaryrefslogtreecommitdiff
path: root/src/Body.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Body.cpp')
-rw-r--r--src/Body.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/Body.cpp b/src/Body.cpp
index f9eb021..5a72165 100644
--- a/src/Body.cpp
+++ b/src/Body.cpp
@@ -1163,18 +1163,20 @@ namespace QuickMedia {
item->prev_height = item->height;
if(attach_side == AttachSide::TOP) {
- if(index < selected_item) {
- page_scroll -= height_diff;
- pos.y -= height_diff;
- }
+ // TODO: Remove
+ // if(index < selected_item) {
+ // page_scroll -= height_diff;
+ // pos.y -= height_diff;
+ // }
prev_body_item = item.get();
index = get_next_visible_item(index);
} else {
- if(index > selected_item) {
- page_scroll += height_diff;
- pos.y += height_diff;
- }
+ // TODO: Remove
+ // if(index > selected_item) {
+ // page_scroll += height_diff;
+ // pos.y += height_diff;
+ // }
index = prev_index;
}