Skip to content

Commit f41786d

Browse files
committed
chore(sheet-of-glass): update animation duration
1 parent a35fc26 commit f41786d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sheets-of-glass/animations.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ export const createPreMoveAnimation = (
1515
): Animation => {
1616
const diff = Math.max(
1717
Math.abs(tabSelectedElement.getBoundingClientRect().left - currentTouchedElement.getBoundingClientRect().left),
18-
120,
18+
140,
1919
);
2020
return createAnimation()
21-
.duration(diff * 1.8)
21+
.duration(diff * 2.1)
2222
.easing('ease-out')
2323
.addElement(effectElement)
2424
.beforeStyles({

0 commit comments

Comments
 (0)