elementary / ctxpopup - fixed logic error.

SVN revision: 58915
This commit is contained in:
ChunEon Park 2011-04-26 04:31:23 +00:00
parent dfe1ec50a7
commit 8b08119b14
1 changed files with 2 additions and 2 deletions

View File

@ -403,9 +403,9 @@ _calc_base_geometry(Evas_Object *obj, Evas_Coord_Rectangle *rect)
length[1] = (hover_area.y + hover_area.h) - pos.y;
if (length[0] > length[1])
idx = ELM_CTXPOPUP_DIRECTION_DOWN;
else
idx = ELM_CTXPOPUP_DIRECTION_UP;
else
idx = ELM_CTXPOPUP_DIRECTION_DOWN;
//TODO 2: determine x , y
switch (idx)