forked from enlightenment/efl
dragables are back (broken them accidentally)
SVN revision: 18189
This commit is contained in:
parent
b69569d937
commit
b10d8cce4a
|
@ -233,8 +233,8 @@ _edje_mouse_move_cb(void *data, Evas * e, Evas_Object * obj, void *event_info)
|
||||||
rp->drag.tmp.y = ev->cur.canvas.y - rp->drag.down.y;
|
rp->drag.tmp.y = ev->cur.canvas.y - rp->drag.down.y;
|
||||||
ed->dirty = 1;
|
ed->dirty = 1;
|
||||||
}
|
}
|
||||||
|
_edje_recalc(ed);
|
||||||
}
|
}
|
||||||
// _edje_recalc(ed);
|
|
||||||
if ((rp->part->dragable.x) || (rp->part->dragable.y))
|
if ((rp->part->dragable.x) || (rp->part->dragable.y))
|
||||||
{
|
{
|
||||||
if (rp->drag.down.count > 0)
|
if (rp->drag.down.count > 0)
|
||||||
|
@ -249,7 +249,7 @@ _edje_mouse_move_cb(void *data, Evas * e, Evas_Object * obj, void *event_info)
|
||||||
rp->drag.val.y = dy;
|
rp->drag.val.y = dy;
|
||||||
_edje_emit(ed, "drag", rp->part->name);
|
_edje_emit(ed, "drag", rp->part->name);
|
||||||
ed->dirty = 1;
|
ed->dirty = 1;
|
||||||
// _edje_recalc(ed);
|
_edje_recalc(ed);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue