Carousel update fixed

pull/104/head
Merve Özçifçi 2019-10-22 17:14:45 +03:00
parent f77c74e032
commit b3ea9f12f6
2 changed files with 3 additions and 1 deletions

View File

@ -433,6 +433,8 @@ export default {
}
this.d_oldNumScroll = this.d_numScroll;
this.d_oldNumVisible = this.d_numVisible;
this.d_oldValue = this.value;
this.$refs.itemsContainer.style.transform = this.isVertical() ? `translate3d(0, ${totalShiftedItems * (100/ this.d_numVisible)}%, 0)` : `translate3d(${totalShiftedItems * (100/ this.d_numVisible)}%, 0, 0)`;
}

View File

@ -166,7 +166,7 @@ export default {
}
&.custom-carousel {
.p-carousel-dot-icon {
/deep/ .p-carousel-dot-icon {
width: 16px !important;
height: 16px !important;
border-radius: 50%;