git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68228
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
#if defined(DEBUG_GESTURE_LAYER)
printf("==== HORIZ ====\n");
#endif
- *x = (Evas_Coord) (xx / 2);
+ *x = (Evas_Coord) ((x2 > x1) ? (x1 + (xx / 2)) : (x2 + (xx / 2)));
*y = (Evas_Coord) (y1);
}
printf("==== VERT ====\n");
#endif
*x = (Evas_Coord) (x1);
- *y = (Evas_Coord) (yy / 2);
+ *y = (Evas_Coord) ((y2 > y1) ? (y1 + (yy / 2)) : (y2 + (yy / 2)));
}
}
/* END - Compute zoom center point */