Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Luis Penaranda
panoramic
Commits
76aaa8f8
Commit
76aaa8f8
authored
Jan 25, 2013
by
Luis Peñaranda
Browse files
changed ctrl+wheel by shift+wheel
parent
f40aaca4
Changes
1
Hide whitespace changes
Inline
Side-by-side
openglcanvas.cpp
View file @
76aaa8f8
...
...
@@ -677,7 +677,7 @@ void OpenGLCanvas::mouseMoveEvent(QMouseEvent *event){
void
OpenGLCanvas
::
wheelEvent
(
QWheelEvent
*
event
){
if
(
event
->
orientation
()
==
Qt
::
Vertical
){
if
(
event
->
modifiers
()
==
Qt
::
Control
Modifier
){
if
(
event
->
modifiers
()
==
Qt
::
Shift
Modifier
){
change_fov_max
(
fov_max
+
((
double
)
event
->
delta
())
/
30
);
}
else
{
change_fov
(
fov
+
((
double
)
event
->
delta
())
/
30
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment