and no needfor old overrides for setting fx/fy
SVN revision: 60186
This commit is contained in:
parent
de905ca622
commit
9648eab6c0
|
@ -1754,19 +1754,13 @@ _smart_hold_animator(void *data)
|
||||||
{
|
{
|
||||||
if ((!sd->widget) ||
|
if ((!sd->widget) ||
|
||||||
(!elm_widget_drag_child_locked_x_get(sd->widget)))
|
(!elm_widget_drag_child_locked_x_get(sd->widget)))
|
||||||
{
|
ox = fx;
|
||||||
ox = sd->down.hold_x;
|
|
||||||
ox = fx;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (sd->down.dir_y)
|
if (sd->down.dir_y)
|
||||||
{
|
{
|
||||||
if ((!sd->widget) ||
|
if ((!sd->widget) ||
|
||||||
(!elm_widget_drag_child_locked_y_get(sd->widget)))
|
(!elm_widget_drag_child_locked_y_get(sd->widget)))
|
||||||
{
|
oy = fy;
|
||||||
oy = sd->down.hold_y;
|
|
||||||
oy = fy;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
elm_smart_scroller_child_pos_set(sd->smart_obj, ox, oy);
|
elm_smart_scroller_child_pos_set(sd->smart_obj, ox, oy);
|
||||||
|
|
Loading…
Reference in New Issue