From 3395315d78ba944069b1116dedf36bd1a7d73f17 Mon Sep 17 00:00:00 2001 From: Trevor Morris Date: Thu, 5 Oct 2023 19:04:19 +0100 Subject: [PATCH] fix: stroke-offset --- src/FitnessRing.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/FitnessRing.js b/src/FitnessRing.js index 35be59c..6389bf2 100644 --- a/src/FitnessRing.js +++ b/src/FitnessRing.js @@ -181,7 +181,7 @@ export default class FitnessRing extends HTMLElement { stroke-dashoffset="${this.percentage( this.getAttribute('move-total'), this.getAttribute('move-goal') - )}" + ) - 1}" stroke-dasharray="${this.percentage( this.getAttribute('move-total'), this.getAttribute('move-goal') @@ -198,7 +198,7 @@ export default class FitnessRing extends HTMLElement { stroke-dashoffset="${this.percentage( this.getAttribute('exercise-total'), this.getAttribute('exercise-goal') - )}" + ) - 1}" stroke-dasharray="${this.percentage( this.getAttribute('exercise-total'), this.getAttribute('exercise-goal') @@ -215,7 +215,7 @@ export default class FitnessRing extends HTMLElement { stroke-dashoffset="${this.percentage( this.getAttribute('stand-total'), this.getAttribute('stand-goal') - )}" + ) - 1}" stroke-dasharray="${this.percentage( this.getAttribute('stand-total'), this.getAttribute('stand-goal')