mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 08:46:38 +02:00
🐛 Fix problem with command
This commit is contained in:
parent
39066bfee3
commit
9fcddc37f6
2 changed files with 7 additions and 2 deletions
|
@ -51,9 +51,9 @@
|
|||
content (get-in state (st/get-path state :content))
|
||||
selected-point? #(gsh/has-point-rect? selrect %)
|
||||
selected-points (get-in state [:workspace-local :edit-path id :selected-points])
|
||||
|
||||
positions (into (if shift? selected-points #{})
|
||||
(comp (map (comp gpt/point :params))
|
||||
(comp (filter #(not (= (:command %) :close-path)))
|
||||
(map (comp gpt/point :params))
|
||||
(filter selected-point?))
|
||||
content)]
|
||||
(cond-> state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue