Elm glayer: Fixed mouse_wheel direction for wheel zoom.

Wheel up should be zoom in, not out.

SVN revision: 61648
This commit is contained in:
Tom Hacohen 2011-07-24 11:44:42 +00:00
parent 988f8b1083
commit 20de0f2def
1 changed files with 2 additions and 2 deletions

View File

@ -2188,10 +2188,10 @@ _zoom_with_wheel_test(Evas_Object *obj, void *event_info,
st->info.x = st->zoom_wheel->canvas.x;
st->info.y = st->zoom_wheel->canvas.y;
if (st->zoom_wheel->z > 0) /* zoom in */
if (st->zoom_wheel->z < 0) /* zoom in */
st->info.zoom += (wd->zoom_finger_factor * wd->zoom_wheel_factor);
if (st->zoom_wheel->z < 0) /* zoom out */
if (st->zoom_wheel->z > 0) /* zoom out */
st->info.zoom -= (wd->zoom_finger_factor * wd->zoom_wheel_factor);
if (st->info.zoom < 0.0)