Skip to content

Commit 41a8914

Browse files
author
Damian Dulisz
committed
1 parent bf4775f commit 41a8914

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pointerMixin.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ export default {
22
data () {
33
return {
44
pointer: 0,
5-
visibleElements: this.optimizedHeight / this.optionHeight,
65
pointerDirty: false
76
}
87
},
@@ -24,6 +23,9 @@ export default {
2423
computed: {
2524
pointerPosition () {
2625
return this.pointer * this.optionHeight
26+
},
27+
visibleElements () {
28+
return this.optimizedHeight / this.optionHeight
2729
}
2830
},
2931
watch: {

0 commit comments

Comments
 (0)