mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02: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 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 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 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
|
## 2.4.3
|
||||||
|
|
||||||
|
|
|
@ -641,7 +641,7 @@
|
||||||
:else
|
:else
|
||||||
(let [component (u/proxy->library-component self)
|
(let [component (u/proxy->library-component self)
|
||||||
value (dm/str (d/nilv (:path component) "") " / " value)]
|
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
|
:path
|
||||||
{:this true
|
{:this true
|
||||||
|
|
|
@ -211,7 +211,7 @@
|
||||||
(u/display-not-valid :name value)
|
(u/display-not-valid :name value)
|
||||||
|
|
||||||
:else
|
:else
|
||||||
(st/emit! (dwsh/update-shapes [id] #(assoc % :name value))))))}
|
(st/emit! (dw/end-rename-shape id value)))))}
|
||||||
|
|
||||||
:blocked
|
:blocked
|
||||||
{:this true
|
{:this true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue