efl_ui_focus_manager_calc: use pow instead of powerof2

This commit is contained in:
Marcel Hollerbach 2017-12-14 11:41:33 +01:00
parent 69c595b5fd
commit f1a2e0f439
1 changed files with 1 additions and 1 deletions

View File

@ -511,7 +511,7 @@ _calculate_node_indirection(Efl_Ui_Focus_Manager_Calc_Data *pd, Efl_Ui_Focus_Obj
//calculate relative position of the nodes
pos = _relative_position_rects(&rect, &op_rect);
//calculate distance
distance = sqrt(powerof2(pos.x) + powerof2(pos.y));
distance = sqrt(pow(pos.x, 2) + pow(pos.y, 2));
if (outside & outside_dir)
{