mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
Merge remote-tracking branch 'origin/main' into staging
This commit is contained in:
commit
ef39afe9b5
@ -58,12 +58,12 @@
|
||||
last-point (get-in state [:workspace-local :edit-path id :last-point])
|
||||
position (cond-> (gpt/point x y)
|
||||
fix-angle? (path.helpers/position-fixed-angle last-point))
|
||||
shape (st/get-path state)
|
||||
content (st/get-path state :content)
|
||||
|
||||
{:keys [last-point prev-handler]}
|
||||
(get-in state [:workspace-local :edit-path id])
|
||||
|
||||
segment (path/next-node shape position last-point prev-handler)]
|
||||
segment (path/next-node content position last-point prev-handler)]
|
||||
(assoc-in state [:workspace-local :edit-path id :preview] segment)))))
|
||||
|
||||
(defn add-node
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user