Browse Source

Fix bug in last commit.

pull/238/merge
Matthew Petroff 8 years ago
parent
commit
89b92ad2a3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/js/pannellum.js

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

@@ -700,7 +700,7 @@ function onDocumentMouseMove(event) {
* Event handler for mouse up events. Stops panning.
* @private
*/
function onDocumentMouseUp() {
function onDocumentMouseUp(event) {
if (!isUserInteracting) {
return;
}


Loading…
Cancel
Save