Browse Source

Don't show hand cursor when dragging is disabled.

pull/723/head
Matthew Petroff 7 years ago
parent
commit
793918c255
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/js/pannellum.js

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

@@ -431,7 +431,8 @@ function init() {
} }
} }
uiContainer.classList.add('pnlm-grab');
if (config.draggable)
uiContainer.classList.add('pnlm-grab');
uiContainer.classList.remove('pnlm-grabbing'); uiContainer.classList.remove('pnlm-grabbing');
} }




Loading…
Cancel
Save