Only zoom sidebar globe if mouse button is pressed down
This commit is contained in:
parent
2e74b73ba0
commit
09413f5fc7
2 changed files with 3 additions and 3 deletions
|
@ -321,6 +321,7 @@ DAT.Globe = function(container, opts) {
|
|||
}
|
||||
|
||||
function onMouseWheel(event) {
|
||||
if (container.style.cursor != "move") return false;
|
||||
event.preventDefault();
|
||||
if (overRenderer) {
|
||||
if (event.deltaY) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue