modified the condition in TableView RefreshItem for newScrollPosition calculation.
authorMinSung Jin <minsung.jin@samsung.com>
Wed, 5 Jun 2013 05:32:58 +0000 (14:32 +0900)
committerMinSung Jin <minsung.jin@samsung.com>
Wed, 5 Jun 2013 09:49:18 +0000 (18:49 +0900)
Change-Id: Ic2e7561a585793e330cee507ff03c58f7299b023
Signed-off-by: MinSung Jin <minsung.jin@samsung.com>
src/ui/controls/FUiCtrl_TableViewPresenter.cpp

index af88fc9..da1a8fb 100644 (file)
@@ -562,7 +562,7 @@ _TableViewPresenter::RefreshTableView(int groupIndex, int itemIndex, TableViewRe
        {
                RefreshItemLayout(topDrawnItemPos, refreshItemPos, type, false);
 
-               float newScrollPosition = prevScrollPosition + (prevScrollAreaHeight - GetScrollAreaBounds().height);
+               float newScrollPosition = prevScrollPosition - (prevScrollAreaHeight - GetScrollAreaBounds().height);
 
                SetScrollPosition(newScrollPosition, false);
        }