diff --git a/CHANGES.md b/CHANGES.md index 8fb55004d..11c31f4f7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -42,6 +42,7 @@ - Fix "Done" button on toolbar on inspect mode should go to design mode [Taiga #8933](https://tree.taiga.io/project/penpot/issue/8933) - Fix problem with shortcuts in text editor [Github #5078](https://github.com/penpot/penpot/issues/5078) - Fix problems with show in viewer and interactions [Github #4868](https://github.com/penpot/penpot/issues/4868) +- Add visual feedback when moving an element into a board [Github #3210](https://github.com/penpot/penpot/issues/3210) ## 2.2.1 diff --git a/frontend/src/app/main/ui/workspace/viewport.cljs b/frontend/src/app/main/ui/workspace/viewport.cljs index 052f84c8f..7040c2c1e 100644 --- a/frontend/src/app/main/ui/workspace/viewport.cljs +++ b/frontend/src/app/main/ui/workspace/viewport.cljs @@ -397,7 +397,7 @@ (->> @hover-ids (filter #(cfh/frame-shape? (get base-objects %))) (remove selected) - (first)) + (last)) outlined-frame (get objects outlined-frame-id)] [:* [:& outline/shape-outlines