Skip to content

Commit

Permalink
fix: hide pivot element on touchend
Browse files Browse the repository at this point in the history
  • Loading branch information
frytaz committed Nov 20, 2024
1 parent 1e339a0 commit 217e04a
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 217e04a

Please sign in to comment.