forked from enlightenment/efl
focus: Avoid un-necessary focus animation call
Summary: Avoid un-necessary focus animation call if the source and target have same co-ordinate Reviewers: seoz, woohyun, raster CC: seoz, singh.amitesh Differential Revision: https://phab.enlightenment.org/D679
This commit is contained in:
parent
58b6b6596a
commit
e839950126
|
@ -715,6 +715,8 @@ _elm_win_focus_highlight_anim_setup(Elm_Win_Data *sd,
|
|||
evas_object_move(obj, tx, ty);
|
||||
evas_object_resize(obj, tw, th);
|
||||
|
||||
if ((px == tx) && (py == ty) && (pw == tw) && (ph == th)) return;
|
||||
|
||||
if (!_elm_config->focus_highlight_clip_disable)
|
||||
evas_object_clip_unset(obj);
|
||||
|
||||
|
|
Loading…
Reference in New Issue