forked from enlightenment/efl
elm image - stop repeating events by default - wrong
why have elm image repeat events always (and unable to stop it)? this is neither useful nor convenient. it's just painful. it makes images not behave like prety much every object. they already are set up to capture events - then do it normally. @fix
This commit is contained in:
parent
a1214c91d0
commit
ddfa4cb977
|
@ -517,7 +517,6 @@ _elm_image_evas_object_smart_add(Eo *obj, Elm_Image_Data *priv)
|
|||
|
||||
evas_object_color_set(priv->hit_rect, 0, 0, 0, 0);
|
||||
evas_object_show(priv->hit_rect);
|
||||
evas_object_repeat_events_set(priv->hit_rect, EINA_TRUE);
|
||||
|
||||
evas_object_event_callback_add
|
||||
(priv->hit_rect, EVAS_CALLBACK_MOUSE_UP, _on_mouse_up, obj);
|
||||
|
|
Loading…
Reference in New Issue