Fix for JIRA N_SE-45317(Scrolling down by one pixel)
authorkatpaga.a <katpaga.a@samsung.com>
Wed, 10 Jul 2013 06:33:53 +0000 (12:03 +0530)
committerkatpaga.a <katpaga.a@samsung.com>
Wed, 10 Jul 2013 06:48:50 +0000 (12:18 +0530)
Change-Id: I2d5243f01b515fc70a0cac51698b75fe5d329582
Signed-off-by: katpaga.a <katpaga.a@samsung.com>
src/ui/controls/FUiCtrl_TableViewPresenter.cpp
src/ui/inc/FUiCtrl_TableViewPresenter.h

index fd6e23c..f504c42 100644 (file)
@@ -1128,7 +1128,7 @@ _TableViewPresenter::PreloadItem(void)
 }
 
 bool
-_TableViewPresenter::PreloadItem(int topDrawnGroupIndex, int topDrawnItemIndex, int shiftingDistance)
+_TableViewPresenter::PreloadItem(int topDrawnGroupIndex, int topDrawnItemIndex, float shiftingDistance)
 {
        if (GetModel() == null || __pProviderAdaptor == null)
        {
@@ -1179,7 +1179,7 @@ _TableViewPresenter::PreloadItem(int topDrawnGroupIndex, int topDrawnItemIndex,
                topDrawnGroupIndex = firstItemTag.groupIndex;
                topDrawnItemIndex = firstItemTag.itemIndex;
 
-               shiftingDistance = 0;
+               shiftingDistance = 0.0f;
        }
 
        AdjustClientAreaBounds(true);
index 2054ed1..6e15136 100644 (file)
@@ -290,7 +290,7 @@ private:
        _TableViewItemProviderAdaptor* __pProviderAdaptor;
 
        bool PreloadItem(void);
-       bool PreloadItem(int topDrawnGroupIndex, int topDrawnItemIndex, int shiftingDistance);
+       bool PreloadItem(int topDrawnGroupIndex, int topDrawnItemIndex, float shiftingDistance);
 
        bool GetFirstItem(TableViewItemTag& firstItem) const;
        bool GetLastItem(TableViewItemTag& lastItem) const;