Skip to content

Commit 05ccb4b

Browse files
committed
change scroll control story default value
1 parent 86be9cc commit 05ccb4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/soba/src/controls/scroll-controls.stories.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export const Default = makeStoryObject(DefaultScrollControlsStory, {
128128
options: {
129129
pages: 3, // Each page takes 100% of the height of the canvas
130130
distance: 1, // A factor that increases scroll bar travel (default: 1)
131-
damping: 4, // Friction, higher is faster (default: 4)
131+
damping: 2, // Friction, higher is faster (default: 4)
132132
horizontal: false, // Can also scroll horizontally (default: false)
133133
infinite: false, // Can also scroll infinitely (default: false)
134134
},
@@ -146,7 +146,7 @@ export const InsideAContainer = makeStoryObject(DefaultScrollControlsStory, {
146146
options: {
147147
pages: 3, // Each page takes 100% of the height of the canvas
148148
distance: 1, // A factor that increases scroll bar travel (default: 1)
149-
damping: 4, // Friction, higher is faster (default: 4)
149+
damping: 2, // Friction, higher is faster (default: 4)
150150
horizontal: false, // Can also scroll horizontally (default: false)
151151
infinite: false, // Can also scroll infinitely (default: false)
152152
},

0 commit comments

Comments
 (0)