Skip to content

Commit c8557f8

Browse files
IamEzioking-11
authored andcommitted
reduced navbar animation time
1 parent 0edc596 commit c8557f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/navbar.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ export default {
9494
configNavbar () {
9595
this.openTimeline = this.$gsap
9696
.timeline({ paused: true })
97-
.to('.navbar', { left: 0, duration: 0.8 })
98-
.from('.list_item', { duration: 0.4, y: 20, stagger: 0.3, autoAlpha: 0 })
97+
.to('.navbar', { left: 0, duration: 0.7 })
98+
.from('.list_item', { duration: 0.4, y: 20, stagger: 0.1, autoAlpha: 0 }, 0.5)
9999
},
100100
async openNavbar () {
101101
this.isActive = true

0 commit comments

Comments
 (0)