@rogieking/figui3 1.0.74 → 1.0.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/fig.js +2 -2
  2. package/package.json +1 -1
package/fig.js CHANGED
@@ -652,7 +652,7 @@ class FigSlider extends HTMLElement {
652
652
  step="${this.step}"
653
653
  class="${this.type}"
654
654
  value="${this.value}">
655
- ${this.innerHTML}
655
+ ${this.initialInnerHTML}
656
656
  </div>`;
657
657
  if (this.text) {
658
658
  html = `${slider}
@@ -721,7 +721,7 @@ class FigSlider extends HTMLElement {
721
721
  if (this.color) {
722
722
  this.style.setProperty("--color", this.color);
723
723
  }
724
-
724
+ this.initialInnerHTML = this.innerHTML;
725
725
  this.innerHTML = this.#getInnerHTML();
726
726
 
727
727
  this.#setupBindings();
package/package.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "1.0.74"
3
+ "version": "1.0.75"
4
4
  }