Skip to content

Commit

Permalink
Fixed mouse scroll with CTRL key
Browse files Browse the repository at this point in the history
  • Loading branch information
adamajammary committed Nov 11, 2018
1 parent 1fb4828 commit 9b3f77b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/scene/Camera.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class Camera extends Component

// UP / DOWN (Y)
if (event.shiftKey) {
moveVector = vec3.fromValues([ 0.0, moveModifier, 0.0 ]);
moveVector = vec3.fromValues(0.0, moveModifier, 0.0);
}
// LEFT / RIGHT (X)
else if (event.ctrlKey)
Expand Down

0 comments on commit 9b3f77b

Please sign in to comment.