Change-Id: Ide48b3c415f4666950e614c65d559938fd89d5f2
Signed-off-by: sr.shashank <sr.shashank@samsung.com>
bool
_ScrollPanelPresenter::IsControlOutOfView(const _Control& control) const
{
- FloatRectangle controlBounds = control.GetAbsoluteBoundsF();
- FloatRectangle scrollPanelBounds = __pScrollPanel->GetAbsoluteBoundsF();
+ FloatRectangle controlBounds = control.GetAbsoluteBoundsF(true);
+ FloatRectangle scrollPanelBounds = __pScrollPanel->GetAbsoluteBoundsF(true);
// is control out of view area
if (__pScrollPanel->GetScrollDirection() == SCROLL_PANEL_SCROLL_DIRECTION_HORIZONTAL)