@rogieking/figui3 2.11.0 → 2.11.1

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 +3 -0
  2. package/package.json +1 -1
package/fig.js CHANGED
@@ -4945,6 +4945,9 @@ class FigInputAngle extends HTMLElement {
4945
4945
  this.angle = value;
4946
4946
  this.#calculateAdjacentAndOpposite();
4947
4947
  this.#syncHandlePosition();
4948
+ if (this.angleInput) {
4949
+ this.angleInput.setAttribute("value", this.angle.toFixed(this.precision));
4950
+ }
4948
4951
  }
4949
4952
 
4950
4953
  attributeChangedCallback(name, oldValue, newValue) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "2.11.0",
3
+ "version": "2.11.1",
4
4
  "description": "A lightweight web components library for building Figma plugin and widget UIs with native look and feel",
5
5
  "author": "Rogie King",
6
6
  "license": "MIT",