Skip to content

Commit d20d970

Browse files
authored
Merge pull request #147 from setaman/v2-fix-dash-assigment
fix: correctly apply dash property
2 parents c84a214 + 3942f8e commit d20d970

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Circle/circleMixin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ export default {
122122
},
123123
methods: {
124124
getDashSpacingPercent() {
125-
return this.dash.spacing / this.dash.count;
125+
return this.options.dash.spacing / this.options.dash.count;
126126
},
127127
getDashPercent() {
128-
return (1 - this.dash.spacing) / this.dash.count;
128+
return (1 - this.options.dash.spacing) / this.options.dash.count;
129129
},
130130
/* Animations helper Methods */
131131
getNegativeCircumference() {

0 commit comments

Comments
 (0)