Browse Source

Zooming out with the keyboard was too slow; speeding up.

pull/54/head
Matthew Petroff 9 years ago
parent
commit
d71732e50b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/js/pannellum.js

+ 1
- 1
src/js/pannellum.js View File

@@ -710,7 +710,7 @@ function keyRepeat() {
// If minus key is down
if (keysDown[0]) {
setHfov(config.hfov + (zoomSpeed * 0.8 + 0.2) * diff);
setHfov(config.hfov + (zoomSpeed * 0.8 + 0.5) * diff);
}
// If plus key is down


Loading…
Cancel
Save