and no needfor old overrides for setting fx/fy

SVN revision: 60186
This commit is contained in:
Carsten Haitzler 2011-06-10 10:17:45 +00:00
parent de905ca622
commit 9648eab6c0
1 changed files with 2 additions and 8 deletions

View File

@ -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);