@mixd-id/web-scaffold 0.1.230406208 → 0.1.230406209

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mixd-id/web-scaffold",
3
3
  "private": false,
4
- "version": "0.1.230406208",
4
+ "version": "0.1.230406209",
5
5
  "scripts": {
6
6
  "dev": "vite serve",
7
7
  "build": "vite build",
@@ -218,13 +218,13 @@ export default{
218
218
  const dy = sy - this._props['sy']
219
219
 
220
220
  if(!this._props['direction']){
221
- if(Math.abs(dy) > 3){
222
- this._props['direction'] = 'vertical'
223
- }
224
- else if(Math.abs(dx) > 3){
221
+ if(Math.abs(dx) > 3){
225
222
  this._props['direction'] = 'horizontal'
226
223
  this.swiping = true
227
224
  }
225
+ else if(Math.abs(dy) > 3){
226
+ this._props['direction'] = 'vertical'
227
+ }
228
228
  }
229
229
  else if(this._props['direction'] === 'horizontal'){
230
230
  let ix