0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-13 10:38:13 -05:00

Merge pull request #1813 from penpot/superalex-prototype-connection-handler-is-extremely-hard-to-use

🐛 Prototype connection handler is extremely hard to use
This commit is contained in:
Andrey Antukh 2022-04-20 09:19:35 +02:00 committed by GitHub
commit d658145450
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -356,14 +356,6 @@
{:zoom zoom
:tooltip tooltip}])
(when show-prototypes?
[:& interactions/interactions
{:selected selected
:zoom zoom
:objects objects-modified
:current-transform transform
:hover-disabled? hover-disabled?}])
(when show-selrect?
[:& widgets/selection-rect {:data selrect
:zoom zoom}])
@ -410,4 +402,12 @@
:shapes selected-shapes
:zoom zoom
:edition edition
:disable-handlers (or drawing-tool edition @space?)}]])]]]))
: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?}])]]]))