trigger mouse binding end callbacks on mouse up
broken by copy/paste errors last month
ref fe5d2e6e61
This commit is contained in:
parent
ed7a0246f9
commit
d4996e2db3
|
@ -507,13 +507,13 @@ e_bindings_mouse_up_event_handle(E_Binding_Context ctxt, E_Object *obj, E_Bindin
|
||||||
{
|
{
|
||||||
act = e_bindings_mouse_button_find(ctxt, ev, &binding);
|
act = e_bindings_mouse_button_find(ctxt, ev, &binding);
|
||||||
if (!act) break;
|
if (!act) break;
|
||||||
if (act->func.go_mouse)
|
if (act->func.end_mouse)
|
||||||
{
|
{
|
||||||
if (!act->func.go_mouse(obj, binding->params, ev))
|
if (!act->func.end_mouse(obj, binding->params, ev))
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if (act->func.go)
|
else if (act->func.end)
|
||||||
act->func.go(obj, binding->params);
|
act->func.end(obj, binding->params);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return act;
|
return act;
|
||||||
|
|
Loading…
Reference in New Issue