@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
|
@@ -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(
|
|
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
|