dnd - deal with efl behavior breaks and use a button not evas rect
so elm broke behavior where it would allow dnd targets to be regular evas objects not just elm. so it needs ot be elm so use an elm button. @fix elm break
This commit is contained in:
parent
a76a80da0b
commit
7c35c02b5b
|
@ -601,7 +601,8 @@ win_add(void)
|
|||
inf->lay = o;
|
||||
controls_init(win, o);
|
||||
|
||||
o = evas_object_rectangle_add(evas_object_evas_get(win));
|
||||
o = elm_button_add(win);
|
||||
elm_object_focus_move_policy_set(o, ELM_FOCUS_MOVE_POLICY_CLICK);
|
||||
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
||||
evas_object_color_set(o, 0, 0, 0, 0);
|
||||
evas_object_repeat_events_set(o, EINA_TRUE);
|
||||
|
|
Loading…
Reference in New Issue