forked from enlightenment/efl
elm_calendar: Changed the calendar focus highlight concept.
Summary: The highlight image enable when calendar got a focus. We enable the highlight image when the user sent a key event to calendar before. The above concept seems to be incorrect when focus highlight activated already. Test Plan: elementary_test calendar sample. Reviewers: woohyun, cedric, jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4438
This commit is contained in:
parent
619540fcc0
commit
40364b4985
|
@ -1648,7 +1648,7 @@ _elm_calendar_elm_widget_on_focus(Eo *obj, Elm_Calendar_Data *sd, Elm_Object_Ite
|
|||
if (!int_ret) return EINA_FALSE;
|
||||
|
||||
if (elm_widget_focus_get(obj))
|
||||
sd->focused_it = sd->selected_it;
|
||||
_update_focused_it(obj, sd->selected_it);
|
||||
else
|
||||
_update_unfocused_it(obj, sd->focused_it);
|
||||
|
||||
|
|
Loading…
Reference in New Issue