mirror of
https://github.com/penpot/penpot.git
synced 2026-09-18 18:06:14 +00:00
🐛 Fix path creation
This commit is contained in:
parent
f8dd64611f
commit
ef235a4c24
@ -63,7 +63,7 @@
|
|||||||
{:keys [last-point prev-handler]}
|
{:keys [last-point prev-handler]}
|
||||||
(get-in state [:workspace-local :edit-path id])
|
(get-in state [:workspace-local :edit-path id])
|
||||||
|
|
||||||
segment (path/next-node shape position last-point prev-handler)]
|
segment (path/next-node (:content shape) position last-point prev-handler)]
|
||||||
(assoc-in state [:workspace-local :edit-path id :preview] segment)))))
|
(assoc-in state [:workspace-local :edit-path id :preview] segment)))))
|
||||||
|
|
||||||
(defn add-node
|
(defn add-node
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user