Skip to content

Commit

Permalink
reduced navbar animation time
Browse files Browse the repository at this point in the history
  • Loading branch information
IamEzio authored and king-11 committed Mar 8, 2022
1 parent 0edc596 commit c8557f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ export default {
configNavbar () {
this.openTimeline = this.$gsap
.timeline({ paused: true })
.to('.navbar', { left: 0, duration: 0.8 })
.from('.list_item', { duration: 0.4, y: 20, stagger: 0.3, autoAlpha: 0 })
.to('.navbar', { left: 0, duration: 0.7 })
.from('.list_item', { duration: 0.4, y: 20, stagger: 0.1, autoAlpha: 0 }, 0.5)
},
async openNavbar () {
this.isActive = true
Expand Down

0 comments on commit c8557f8

Please sign in to comment.