$('.slider_picasso').on('wheel', (function(e) {
if (window.innerWidth > 1024){
e.preventDefault();
if (e.originalEvent.deltaY < 0) {
$(this).slick('slickNext');
} else {
$(this).slick('slickPrev');
}
} else{
return;
}
}));
var mySlider = $('.slider_picasso');
mySlider.slick({
dots: false,
infinite: true,
speed: 500,
autoplay: false,
arrows: true,
slidesToShow: 1,
verticalSwiping: true,
slidesToScroll: 1,
});
mySlider.mousewheel(function(e) {
e.preventDefault();
if (e.deltaY < 0) {
$(this).slick('slickNext');
} else {
$(this).slick('slickPrev');
}
});
var mySlider = $('.slider_picasso');
mySlider.slick({
dots: false,
infinite: true,
speed: 500,
autoplay: false,
arrows: true,
slidesToShow: 1,
verticalSwiping: true,
slidesToScroll: 1,
});