Skip to content

Commit

Permalink
Merge pull request #1740 from frytaz/fix/pivot-element-on-mobile
Browse files Browse the repository at this point in the history
fix: hide pivot element on touchend
  • Loading branch information
xeolabs authored Nov 20, 2024
2 parents 1e339a0 + 217e04a commit 2af1b08
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ class TouchPanRotateAndDollyHandler {

canvas.addEventListener("touchend", this._canvasTouchEndHandler = () => {
if (pivotController.getPivoting()) {
pivotController.endPivot()
pivotController.endPivot();
pivotController.hidePivot();
}
firstDragDeltaX = 0;
firstDragDeltaY = 0;
Expand Down

0 comments on commit 2af1b08

Please sign in to comment.