Skip to content

Commit

Permalink
Update from Shopify for theme sneakerlab/trunk
Browse files Browse the repository at this point in the history
Committed from shop: Sneaker Lab 2022
  • Loading branch information
shopify[bot] authored Oct 28, 2023
1 parent c1ca658 commit e1fc7d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sections/ticker.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,12 @@
// Update vertical translation
glide.on("run", function (move) {
let translateY = glide.index * (-100 / perView / (countSlides2 / perView))
slidesContainer2.style.transform = "translate3d(0, " + translateY + "% , 0)"
// let translateY = glide.index * (-100 / perView / (countSlides2 / perView))
// slidesContainer2.style.transform = "translate3d(0, " + translateY + "% , 0)"
})
}).on("run.after", function () {
// var translateY2 = glide.index * (-100 / perView / (countSlides2 / perView))
// slidesContainer2.style.transform = "translate3d(0, " + translateY2 + "% , 0)"
var translateY2 = glide.index * (-100 / perView / (countSlides2 / perView))
slidesContainer2.style.transform = "translate3d(0, " + translateY2 + "% , 0)"
});
glide.mount();
Expand Down

0 comments on commit e1fc7d5

Please sign in to comment.