Commit 9d6dfc1e authored by Claes Sjofors's avatar Claes Sjofors

Xtt camera control, scroll wheel direction changed

parent e7445d1f
...@@ -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