diff --git a/CHANGES.md b/CHANGES.md index 42cb55876c..6ec5fb7c32 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 diff --git a/frontend/src/app/main/data/workspace.cljs b/frontend/src/app/main/data/workspace.cljs index 708f55f6be..71a709ec57 100644 --- a/frontend/src/app/main/data/workspace.cljs +++ b/frontend/src/app/main/data/workspace.cljs @@ -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