This website works better with JavaScript.
Home
Help
Sign In
heuzef
/
pannellum
mirror of
https://github.com/mpetroff/pannellum.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
22
Wiki
Activity
Browse Source
Fixed bug with mouse wheel zoom.
pull/8/head
Matthew Petroff
10 years ago
parent
c4ad7f2fc1
commit
210156ea94
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/js/pannellum.js
+ 2
- 0
src/js/pannellum.js
View File
@@ -208,6 +208,8 @@ function onDocumentMouseWheel(event) {
// Firefox
setHfov(config.hfov += event.detail * 1.5);
}
requestAnimationFrame(animate);
}
function onDocumentKeyPress(event) {
Write
Preview
Loading…
Cancel
Save