expose the computed dimensions of canvas-based widgets in css (as --widget-width and --widget-height) and script (as locals.width and locals.height)

This commit is contained in:
jean-emmanuel 2021-09-29 09:37:37 +02:00
parent ce353d1b59
commit 9e16fff2fa
2 changed files with 25 additions and 1 deletions

View file

@ -10,6 +10,7 @@
- widgets
- encoder: expose angle in script (as `locals.angle`)
- new textarea widget (multi line input)
- expose the computed dimensions of canvas-based widgets in `css` (as `--widget-width` and `--widget-height`) and `script` (as `locals.width` and `locals.height`)
## 1.9.14