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:
parent
8217bbc7a0
commit
9c626d22c7
3 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue