0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-09 21:41:23 -05:00

🐛 Fix problem in plugins with renaming components

This commit is contained in:
alonso.torres 2025-02-05 13:24:07 +01:00 committed by Andrey Antukh
parent 8217bbc7a0
commit 9c626d22c7
3 changed files with 3 additions and 2 deletions

View file

@ -56,6 +56,7 @@ is a number of cores)
- Fix problem with strokes not refreshing in Safari [Taiga #9040](https://tree.taiga.io/project/penpot/issue/9040)
- Fix problem with multiple color changes [Taiga #9631](https://tree.taiga.io/project/penpot/issue/9631)
- Fix problem in plugins with zoomIntoView [Plugins #189](https://github.com/penpot/penpot-plugins/issues/189)
- Fix problem in plugins with renaming components [Taiga #10060](https://tree.taiga.io/project/penpot/issue/10060)
## 2.4.3

View file

@ -641,7 +641,7 @@
:else
(let [component (u/proxy->library-component self)
value (dm/str (d/nilv (:path component) "") " / " value)]
(st/emit! (dwl/rename-component id value)))))}
(st/emit! (dwl/rename-component-and-main-instance id value)))))}
:path
{:this true

View file

@ -211,7 +211,7 @@
(u/display-not-valid :name value)
:else
(st/emit! (dwsh/update-shapes [id] #(assoc % :name value))))))}
(st/emit! (dw/end-rename-shape id value)))))}
:blocked
{:this true