🐛 Fix highlight on shape after rename (#8890)

This commit is contained in:
Eva Marco 2026-04-09 11:27:36 +02:00 committed by GitHub
parent 38a5a67b86
commit b0a99b65e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@
- Fix tooltip activated when tab change [Taiga #13627](https://tree.taiga.io/project/penpot/issue/13627)
- Fix title on shared button [Taiga #13730](https://tree.taiga.io/project/penpot/issue/13730)
- Fix hover on layers [Taiga #13799](https://tree.taiga.io/project/penpot/issue/13799)
- Fix highlight after name edition [Taiga #13783](https://tree.taiga.io/project/penpot/issue/13783)
## 2.14.2

View File

@ -657,6 +657,7 @@
;; Update the component in case shape is a main instance
(when (and (some? component-id) (ctc/main-instance? shape))
(dwl/rename-component component-id clean-name))
(dwh/dehighlight-shape shape-id)
(dwu/commit-undo-transaction undo-id))))))))))
(defn rename-shape-or-variant