mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 12:42:13 +02:00
🐛 Fixed problem when editing paths
This commit is contained in:
parent
19ed0b70c2
commit
cbdfb4349b
2 changed files with 4 additions and 3 deletions
|
@ -289,7 +289,8 @@
|
|||
(:c2x params) (update-in [index :params :c2x] + (:c2x params))
|
||||
(:c2y params) (update-in [index :params :c2y] + (:c2y params)))
|
||||
content))]
|
||||
(reduce apply-to-index content modifiers)))
|
||||
(let [content (if (vector? content) content (into [] content))]
|
||||
(reduce apply-to-index content modifiers))))
|
||||
|
||||
(defn command->point [command]
|
||||
(when-not (nil? command)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue