Hello,

Previsouly i have tested rotation with old version of gesture layer in
touch devices.
Recent gesture layer gives somewhat different event information. So I
fixed it accordingly.
I tested this patch in touch-enabled device.
Please review ths patch.

-- 
BRs,
Kim.
Index: src/lib/elm_map.c
===================================================================
--- src/lib/elm_map.c	(리비전 68237)
+++ src/lib/elm_map.c	(작업 사본)
@@ -2562,7 +2562,7 @@ _pinch_rotate_cb(void *data, void *event
         Elm_Gesture_Rotate_Info *ei = event_info;
         evas_object_geometry_get(wd->obj, &x, &y, &w, &h);
 
-        wd->rotate.d = wd->rotate.a + ((ei->base_angle-ei->angle) * 50);
+        wd->rotate.d = wd->rotate.a + ei->angle - ei->base_angle;
         wd->rotate.cx = x + ((double)w * 0.5);
         wd->rotate.cy = y + ((double)h * 0.5);
 
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to