Skip to content

Commit

Permalink
fixed issue with bar lengths
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsmithRTI committed Nov 9, 2023
1 parent 37dadc0 commit 5f1910c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/HorizontalBarRange.vue
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@ export default {
if (right < 80 && this.addExtraPadding) {
//this.extraPad["padding-right"] = "60px"
var s = this._upper.styles.left.replace(/[0-9]+%\s?/g, "")
this._upper.styles.left = s - 10 + "%"
//var s = this._upper.styles.left.replace(/[0-9]+%\s?/g, "")
//this._upper.styles.left = s - 10 + "%"
}
},
scale(v) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Range.vue
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ export default {
this.bar_styles.right = right + "%"
if (right < 20 && this.addExtraPadding) {
this.extraPad["padding-right"] = "60px"
//this.extraPad["padding-right"] = "60px"
}
},
scale(v) {
Expand Down

0 comments on commit 5f1910c

Please sign in to comment.