diff --git a/source/viewer/navigation.js b/source/viewer/navigation.js index 89e46ff..d884dc3 100644 --- a/source/viewer/navigation.js +++ b/source/viewer/navigation.js @@ -246,6 +246,7 @@ OV.Navigation = class this.canvas.addEventListener ('wheel', this.OnMouseWheel.bind (this)); this.canvas.addEventListener ('touchstart', this.OnTouchStart.bind (this)); this.canvas.addEventListener ('touchmove', this.OnTouchMove.bind (this)); + this.canvas.addEventListener ('touchcancel', this.OnTouchEnd.bind (this)); this.canvas.addEventListener ('touchend', this.OnTouchEnd.bind (this)); this.canvas.addEventListener ('contextmenu', this.OnContextMenu.bind (this)); }