Change-Id: I1c7db5310a4edb16f4fda13e2ce19c71e8389741
Signed-off-by: SangHyeon Jade Lee <dltkdgus1764@gmail.com>
tt = REORDER_EFFECT_TIME;
t = ((0.0 > (t = ecore_loop_time_get() -
GG_IT(it)->moving_effect_start_time)) ? 0.0 : t);
- dx = ((GG_IT(it)->tx - GG_IT(it)->ox) / 10)
- * elm_config_scale_get();
- dy = ((GG_IT(it)->ty - GG_IT(it)->oy) / 10)
- * elm_config_scale_get();
+ dx = (Evas_Coord)((((double)GG_IT(it)->tx - (double)GG_IT(it)->ox) / 10.0)
+ * elm_config_scale_get());
+ dy = (Evas_Coord)((((double)GG_IT(it)->ty - (double)GG_IT(it)->oy) / 10.0)
+ * elm_config_scale_get());
if (t <= tt)
{