From e6bc4d254eae5cc98392c0d01a7eb4785b1f877b Mon Sep 17 00:00:00 2001 From: Yeongjong Lee Date: Thu, 27 Sep 2018 13:55:20 +0900 Subject: [PATCH] efl_ui_list: fix wrong variable usage Reviewers: SanghyeonLee, Hermet Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7113 --- src/lib/elementary/efl_ui_list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elementary/efl_ui_list.c b/src/lib/elementary/efl_ui_list.c index 42ba8aeb93..479e051d1b 100644 --- a/src/lib/elementary/efl_ui_list.c +++ b/src/lib/elementary/efl_ui_list.c @@ -35,14 +35,14 @@ _item_scroll_internal(Eo *obj, vpos = efl_ui_scrollable_content_pos_get(pd->smanager); ipos.x = view.x; - ipos.w = ipos.w; + ipos.w = view.w; // FIXME: align case will not correctly show in the position because of // bar size calculation. there are no certain way to know the scroll calcuation finished. if (EINA_DBL_EQ(align, -1.0)) { ipos.y = ipos.y + vpos.y - view.y; - ipos.h = ipos.h; + ipos.h = view.h; } else if ((align > 0.0 || EINA_DBL_EQ(align, 0.0)) && (align < 1.0 || EINA_DBL_EQ(align, 1.0)))