mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 00:58:26 -05:00
🐛 Fixed interactions
This commit is contained in:
parent
549370e5f5
commit
e0b6e74e5d
1 changed files with 2 additions and 3 deletions
|
@ -175,11 +175,10 @@
|
|||
|
||||
(mf/defc interactions
|
||||
[{:keys [selected] :as props}]
|
||||
(let [data (mf/deref refs/workspace-data)
|
||||
local (mf/deref refs/workspace-local)
|
||||
(let [local (mf/deref refs/workspace-local)
|
||||
zoom (mf/deref refs/selected-zoom)
|
||||
current-transform (:transform local)
|
||||
objects (:objects data)
|
||||
objects (mf/deref refs/workspace-page-objects)
|
||||
active-shapes (filter #(first (get-click-interaction %)) (vals objects))
|
||||
selected-shapes (map #(get objects %) selected)
|
||||
draw-interaction-to (:draw-interaction-to local)
|
||||
|
|
Loading…
Add table
Reference in a new issue