diff --git a/CHANGES.md b/CHANGES.md index 0620d13af..55742ac05 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -13,6 +13,7 @@ ### :bug: Bugs fixed - Fix menu file not accessible in certain conditions [Taiga #3385](https://tree.taiga.io/project/penpot/issue/3385) - Remove deprecated menu options [Taiga #3333](https://tree.taiga.io/project/penpot/issue/3333) +- Prototype connection should be under the rules [Taiga #3384](https://tree.taiga.io/project/penpot/issue/3384) ### :arrow_up: Deps updates ### :heart: Community contributions by (Thank you!) diff --git a/frontend/src/app/main/ui/workspace/viewport.cljs b/frontend/src/app/main/ui/workspace/viewport.cljs index 33419511a..70437a9aa 100644 --- a/frontend/src/app/main/ui/workspace/viewport.cljs +++ b/frontend/src/app/main/ui/workspace/viewport.cljs @@ -391,6 +391,14 @@ [:& widgets/viewport-actions] + (when show-prototypes? + [:& interactions/interactions + {:selected selected + :zoom zoom + :objects objects-modified + :current-transform transform + :hover-disabled? hover-disabled?}]) + [:& scroll-bars/viewport-scrollbars {:objects base-objects :zoom zoom @@ -429,10 +437,4 @@ :edition edition :disable-handlers (or drawing-tool edition @space?)}]]) - (when show-prototypes? - [:& interactions/interactions - {:selected selected - :zoom zoom - :objects objects-modified - :current-transform transform - :hover-disabled? hover-disabled?}])]]])) + ]]]))