forked from enlightenment/efl
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:
parent
988f8b1083
commit
20de0f2def
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue