Merge pull request #6114 from penpot/alotor-fix-plugins-shapows

🐛 Fix problem with default shadows in plugins
This commit is contained in:
Aitor Moreno 2025-03-19 16:15:41 +01:00 committed by GitHub
commit d01eccf912
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -24,6 +24,7 @@
- The plugin list in the navigation menu lacks scrolling, some plugins are not visible when a large number are installed [Taiga #9360](https://tree.taiga.io/project/penpot/us/9360)
- Fix hidden toolbar click event still available [Taiga #10437](https://tree.taiga.io/project/penpot/us/10437)
- Fix hovering over templates [Taiga #10545](https://tree.taiga.io/project/penpot/issue/10545)
- Fix problem with default shadows value in plugins [Plugins #191](https://github.com/penpot/penpot-plugins/issues/191)
## 2.5.4

View file

@ -176,8 +176,9 @@
(defn format-shadows
[shadows]
(when (some? shadows)
(format-array format-shadow shadows)))
(if (some? shadows)
(format-array format-shadow shadows)
(array)))
;;export interface Fill {
;; fillColor?: string;