Daniel Juyung Seo 2014-01-07 00:09:44 +09:00
parent bfb91fe341
commit d58b4401e8
2 changed files with 1 additions and 8 deletions

View File

@ -540,7 +540,7 @@ _state_update(Evas_Object *obj)
Evas_Coord xx1, yy1, xx2, yy2, mx, my;
Evas_Coord x, y, w, h, ox, oy, ow, oh;
int gx, gy, gszw, gszh, gw, gh, col, row, nw, nh;
double rho, A, theta, perc, percm, n, rhol, Al, thetal;
double rho, A, theta, perc, n, rhol, Al, thetal;
sd->backflip = EINA_TRUE;
if (sd->state)
@ -627,13 +627,9 @@ _state_update(Evas_Object *obj)
}
perc = (double)xx2 / (double)xx1;
percm = (double)mx / (double)xx1;
if (perc < 0.0) perc = 0.0;
else if (perc > 1.0)
perc = 1.0;
if (percm < 0.0) percm = 0.0;
else if (percm > 1.0)
percm = 1.0;
minva = atan(minv) / (M_PI / 2);
if (minva < 0.0) minva = -minva;

View File

@ -989,9 +989,6 @@ _item_place(Elm_Gen_Item *it,
cvw = vw + 2 * PRELOAD * wsd->item_width;
cvh = vh + 2 * PRELOAD * wsd->item_height;
alignh = 0;
alignw = 0;
items_count = wsd->item_count -
eina_list_count(wsd->group_items) + wsd->items_lost;
if (wsd->horizontal)