Change-Id: I4b07434ea396b29388c8f2855177170e863c3ba1
Signed-off-by: Park Kyoung Hee <kh1979.park@samsung.com>
{
if ((__enableScrollingEffect || __enableOverScrollingEffect) && __scrollingEffectVisibility)
{
- if (__pFrontScrollingEffectVe->GetOpacity() != SCROLL_OPACITY_DARK_DIM && !__fadeOut)
+ if (__scrollPositionCurr < 0.0f)
{
- SetScrollingEffectOpacity(SCROLL_OPACITY_DARK_DIM);
+ SetScrollingEffectVisibility(false);
+ }
+ else if (__scrollPositionCurr > (__scrollRange - __viewRange))
+ {
+ SetScrollingEffectVisibility(false);
+ }
+ else
+ {
+ if (__pFrontScrollingEffectVe->GetOpacity() != SCROLL_OPACITY_DARK_DIM && !__fadeOut)
+ {
+ SetScrollingEffectVisibility(true);
+ }
}
}