mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
🐛 Fix error with new paths
This commit is contained in:
parent
b0a99b65e4
commit
9518763a23
@ -63,7 +63,7 @@
|
||||
{: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 shape) 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