forked from enlightenment/efl
genlist: Removed unnecessary calculation.
Summary: Removed unnecessary calculation from _elm_genlist_elm_widget_focus_highlight_geometry_get() Test Plan: elementary_test -to "genlist focus" Reviewers: seoz, Hermet Reviewed By: Hermet Subscribers: sachin.dev Differential Revision: https://phab.enlightenment.org/D1145
This commit is contained in:
parent
6de233cfdb
commit
f4fea0abca
|
@ -7489,7 +7489,7 @@ _elm_genlist_elm_widget_focus_highlight_geometry_get(Eo *obj EINA_UNUSED, Elm_Ge
|
||||||
|
|
||||||
if ((item_x + item_w) > (ox + ow))
|
if ((item_x + item_w) > (ox + ow))
|
||||||
{
|
{
|
||||||
*w = item_w - (item_w - ow);
|
*w = ow;
|
||||||
}
|
}
|
||||||
if (item_x < ox)
|
if (item_x < ox)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue