diff --git a/CHANGES.md b/CHANGES.md index e4cb5a504..9b626a3ae 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -59,7 +59,11 @@ - Fix moving frame-guides outside frames [Taiga #3839](https://tree.taiga.io/project/penpot/issue/3839) - Fix problem with 180 degree rotations [#2082](https://github.com/penpot/penpot/issues/2082) - Fix font rendering on grid thumbnails [Taiga #3473](https://tree.taiga.io/project/penpot/issue/3473) -- Fix Drag and drop font assets in groups +- Fix Drag and drop font assets in groups [Taiga #3763](https://tree.taiga.io/project/penpot/issue/3763) +- Fix copy and paste layers order [Taiga #1617](https://tree.taiga.io/project/penpot/issue/1617) +- Fix unexpected removal of guides on copy&paste frames [Taiga #3887](https://tree.taiga.io/project/penpot/issue/3887) by @andrewzhurov +- Fix props preserving on copy&paste texts [Taiga #3629](https://tree.taiga.io/project/penpot/issue/3629) by @andrewzhurov + ### :arrow_up: Deps updates ### :heart: Community contributions by (Thank you!) diff --git a/frontend/src/app/main/data/workspace.cljs b/frontend/src/app/main/data/workspace.cljs index d6ca2a700..519669971 100644 --- a/frontend/src/app/main/data/workspace.cljs +++ b/frontend/src/app/main/data/workspace.cljs @@ -1083,13 +1083,13 @@ [] (letfn [(sort-selected [state data] (let [selected (wsh/lookup-selected state) - objects (wsh/lookup-page-objects state) + objects (wsh/lookup-page-objects state) ;; Narrow the objects map so it contains only relevant data for ;; selected and its parents - objects (cph/selected-subtree objects selected) - + objects (cph/selected-subtree objects selected) selected (->> (ctst/sort-z-index objects selected) + (reverse) (into (d/ordered-set)))] (assoc data :selected selected)))