When width of parameter(w) is bigger than or equal to scroller's
width(pw), scrollable object must be scrolled to x position.
Change-Id: I168cd7946cd689db4fca5e170b9e2e2d86e7efc5
evas_object_geometry_get(sid->pan_obj, NULL, NULL, &pw, &ph);
nx = x;
+ if ((x > px) && (w < pw))
+ {
+ if ((px + pw) < (x + w)) nx = x - pw + w;
+ else nx = px;
+ }
ny = y;
+ if ((y > py) && (h < ph))
+ {
+ if ((py + ph) < (y + h)) ny = y - ph + h;
+ else ny = py;
+ }
if ((sid->down.bounce_x_animator) || (sid->down.bounce_y_animator) ||
(sid->scrollto.x.animator) || (sid->scrollto.y.animator))