break;
case 90:
nx = ptr->x - ptr->hot.y;
- ny = ptr->y + ptr->hot.x - cursor_w;
+ ny = ptr->y + ptr->hot.x;
break;
case 180:
- nx = ptr->x + ptr->hot.x - cursor_w;
- ny = ptr->y + ptr->hot.y - cursor_h;
+ nx = ptr->x + ptr->hot.x;
+ ny = ptr->y + ptr->hot.y;
break;
case 270:
- nx = ptr->x + ptr->hot.y - cursor_h;
+ nx = ptr->x + ptr->hot.y;
ny = ptr->y - ptr->hot.x;
break;
default:
rotation = 270;
else if (rotation == 270)
rotation = 90;
- evas_map_util_rotate(map, rotation, x + (w/2), y + (h/2));
+ evas_map_util_rotate(map, rotation, x, y);
evas_map_util_object_move_sync_set(map, EINA_TRUE);
evas_object_map_set(ec->frame, map);