@rogieking/figui3 1.1.7 → 1.1.8
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.
- package/fig.js +2 -2
- package/package.json +1 -1
package/fig.js
CHANGED
|
@@ -1246,10 +1246,10 @@ class FigInputColor extends HTMLElement {
|
|
|
1246
1246
|
case "value":
|
|
1247
1247
|
this.#setValues(newValue);
|
|
1248
1248
|
if (this.#textInput) {
|
|
1249
|
-
this.#textInput.setAttribute("value", this.
|
|
1249
|
+
this.#textInput.setAttribute("value", this.value);
|
|
1250
1250
|
}
|
|
1251
1251
|
if (this.#swatch) {
|
|
1252
|
-
this.#swatch.setAttribute("value", this.
|
|
1252
|
+
this.#swatch.setAttribute("value", this.hexOpaque);
|
|
1253
1253
|
}
|
|
1254
1254
|
if (this.#alphaInput) {
|
|
1255
1255
|
this.#alphaInput.setAttribute("value", this.alpha);
|