Skip to content

Commit

Permalink
Fix broken pan/zoom introduced in v0.1.15 (1b01b6a) (mrdoob#78)
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Scheurer <[email protected]>
  • Loading branch information
LJ1102 and Jan Scheurer authored Oct 14, 2021
1 parent 96cc499 commit 15be193
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@
}, false );

function settleDown ( event ) {
surface.isPanning = surface.isZooming = false;
document.body.style.cursor = 'default';
panButton.style.cursor = 'move';
}
Expand Down

0 comments on commit 15be193

Please sign in to comment.