From a7870f045f45ee2668dd9585e321eb9a7b42eed3 Mon Sep 17 00:00:00 2001 From: Jeffrey van der Heide Date: Fri, 31 Jan 2025 09:11:51 +0100 Subject: [PATCH] docs(ScrollControls): update references to default smoothScroll values to be the actual default value used --- docs/guide/controls/scroll-controls.md | 2 +- src/core/controls/ScrollControls.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/controls/scroll-controls.md b/docs/guide/controls/scroll-controls.md index 880e1d69c..2aef01f13 100644 --- a/docs/guide/controls/scroll-controls.md +++ b/docs/guide/controls/scroll-controls.md @@ -76,7 +76,7 @@ The elements that you pass as a slot will be affected by the scroll effect, and | :--------------- | :------------------------------------------------------- | ------- | | **pages** | The length of the scroll (not available with htmlScroll) | `4` | | **distance** | The distance to move the objects | `4` | -| **smoothScroll** | The smooth factor of the scrolling. | `0.5` | +| **smoothScroll** | The smooth factor of the scrolling. | `0.1` | | **horizontal** | Whether the scroll is horizontal or vertical. | `false` | | **htmlScroll** | Whether to use the native HTML scroll. | `false` | diff --git a/src/core/controls/ScrollControls.vue b/src/core/controls/ScrollControls.vue index f1dfa2641..7d9799cd3 100644 --- a/src/core/controls/ScrollControls.vue +++ b/src/core/controls/ScrollControls.vue @@ -24,7 +24,7 @@ export interface ScrollControlsProps { * The smooth factor of the scrolling. * * @type {number} - * @default 0.5 + * @default 0.1 * @memberof ScrollControlsProps */ smoothScroll?: number