mirror of
https://github.com/penpot/penpot.git
synced 2025-05-20 19:06:10 +02:00
Fix internal error when hoverin over shape
This commit is contained in:
parent
08c6e9b702
commit
224d466122
2 changed files with 2 additions and 1 deletions
|
@ -50,7 +50,7 @@
|
|||
id (get-in state [:workspace-local :edition])
|
||||
content (st/get-path state :content)
|
||||
selected-point? #(gsh/has-point-rect? selrect %)
|
||||
selected-points (get-in state [:workspace-local :edit-path id :selected-points])
|
||||
selected-points (or (get-in state [:workspace-local :edit-path id :selected-points]) #{})
|
||||
positions (into (if shift? selected-points #{})
|
||||
(comp (filter #(not (= (:command %) :close-path)))
|
||||
(map (comp gpt/point :params))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue