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 86a4a3c commit 8f25e2f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sections/ticker.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,8 @@
// Update vertical translation
glide.on("run", function (move) {
console.log(glide.index);
var translateY2 = glide.index * (-100 / perView / (countSlides2 / perView))
slidesContainer2.style.transform = "translate3d(0, " + translateY2 + "% , 0)"
console.log('Translate Y 2: ' + translateY2);
// var translateY2 = glide.index * (-100 / perView / (countSlides2 / perView))
// slidesContainer2.style.transform = "translate3d(0, " + translateY2 + "% , 0)"
})
});
Expand Down

0 comments on commit 8f25e2f

Please sign in to comment.