Commit d2223973 authored by Claes Sjofors's avatar Claes Sjofors

Merge branch 'master' of newton:/data1/x0-0-0/pwr

parents 31ca8b90 9d6dfc1e
...@@ -207,9 +207,9 @@ void XttStream::action_scroll( int direction, int x, int y, int cnt) ...@@ -207,9 +207,9 @@ void XttStream::action_scroll( int direction, int x, int y, int cnt)
double zoom; double zoom;
if ( direction) if ( direction)
zoom = - cnt * 4;
else
zoom = cnt * 4; zoom = cnt * 4;
else
zoom = - cnt * 4;
camera_control->zoom_relative( zoom); camera_control->zoom_relative( zoom);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment