forked from enlightenment/efl
elm_index: skip level check when only 0 level is active
Summary: - In mouse move callback, index tries to calculate current level. - This is not needed when level 1 is not active. and blocks index item change. Test Plan: 1) Run elementary test -> any vertical index. 2) Click on index item and drag to outside of index. 3) Observe index item is now changed as mouse movement. Reviewers: cedric, Hermet, jpeg, eunue Reviewed By: cedric Subscribers: conr2d Differential Revision: https://phab.enlightenment.org/D4643 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
parent
1f1d52503e
commit
8ac66d9dc0
|
@ -909,7 +909,7 @@ _on_mouse_move(void *data,
|
|||
(wd->resize_obj, "elm.dragable.pointer",
|
||||
(!edje_object_mirrored_get(wd->resize_obj)) ?
|
||||
x : (x - w), y);
|
||||
if (sd->orientation == EFL_ORIENT_VERTICAL)
|
||||
if ((sd->orientation == EFL_ORIENT_VERTICAL) && (sd->event_rect[1]))
|
||||
{
|
||||
if (adx > minw)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue