Skip to content

Commit

Permalink
fix previous release
Browse files Browse the repository at this point in the history
  • Loading branch information
midzer committed Dec 17, 2024
1 parent b8f5fe4 commit 0d89c96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,9 @@ export default function Tobii (userOptions) {

lastTapTime = 0

resetZoom()
if (isZoomed()) resetZoom()

TRANSFORM.element = null
}

/**
Expand Down Expand Up @@ -1185,8 +1187,6 @@ export default function Tobii (userOptions) {
TRANSFORM.translateY = 0

pan(0, 0)

TRANSFORM.element = null
}

/**
Expand Down

0 comments on commit 0d89c96

Please sign in to comment.