zimjs 16.3.6 → 16.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/zim.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zimjs",
3
- "version": "16.3.6",
3
+ "version": "16.3.7",
4
4
  "type": "module",
5
5
  "main": "./src/zim.js",
6
6
  "types": "./ts-src/typings/zim",
package/src/zim.js CHANGED
@@ -58780,7 +58780,7 @@ you can define multiple pages objects add and remove pages objects as needed
58780
58780
  var current = that.pages[that.index];
58781
58781
  if (!current || !current.swipe) return;
58782
58782
  var swipe = current.swipe;
58783
- var directions = [zim.LEFT, zim.RIGHT, zim.DOWN, zim.UP];
58783
+ var directions = [zim.LEFT, zim.RIGHT, zim.UP, zim.DOWN];
58784
58784
  zim.loop(directions, function (d, i) {
58785
58785
  if (!swipe[i]) {
58786
58786
  zim.loop(that.arrows[d], function(b) {