diff --git a/src/scripts/Smooth.js b/src/scripts/Smooth.js index 763ed017..d35cf252 100644 --- a/src/scripts/Smooth.js +++ b/src/scripts/Smooth.js @@ -360,9 +360,7 @@ export default class extends Core { if (this.instance.direction !== 'up') { this.instance.direction = 'up'; } - } - - if (this.instance.delta.x > this.instance.scroll.x) { + } else if (this.instance.delta.x > this.instance.scroll.x) { if (this.instance.direction !== 'right') { this.instance.direction = 'right'; }