projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71b97b8
)
[Map] Tunnig rotate callback because of gesture layer merge
author
Tae-Hwan Kim
<the81.kim@samsung.com>
Wed, 22 Feb 2012 07:39:31 +0000
(16:39 +0900)
committer
Tae-Hwan Kim
<the81.kim@samsung.com>
Wed, 22 Feb 2012 07:39:31 +0000
(16:39 +0900)
Change-Id: I21ec1ccbabfc1a8dba848da4c4fcb4a47d272aec
src/lib/elm_map.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_map.c
b/src/lib/elm_map.c
index
d9adef9
..
50658f6
100644
(file)
--- a/
src/lib/elm_map.c
+++ b/
src/lib/elm_map.c
@@
-2943,7
+2943,7
@@
rotate_cb(void *data, void *event_info)
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);