forked from enlightenment/enlightenment
Be sure to trap the correct pan event, not just the changed event twice :)
This fixed config panel scroll bug. SVN revision: 25461
This commit is contained in:
parent
dc4d49a27b
commit
bb7df37c26
|
@ -97,7 +97,7 @@ e_scrollframe_child_set(Evas_Object *obj, Evas_Object *child)
|
|||
o = e_pan_add(evas_object_evas_get(obj));
|
||||
sd->pan_obj = o;
|
||||
evas_object_smart_callback_add(o, "changed", _e_smart_pan_changed_hook, sd);
|
||||
evas_object_smart_callback_add(o, "changed", _e_smart_pan_pan_changed_hook, sd);
|
||||
evas_object_smart_callback_add(o, "pan_changed", _e_smart_pan_pan_changed_hook, sd);
|
||||
evas_object_show(o);
|
||||
edje_object_part_swallow(sd->edje_obj, "e.swallow.content", o);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue