0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 16:30:37 -05:00

✏️ Fixing typo and dding note

This commit is contained in:
mathieu.brunot 2019-02-24 00:35:21 +01:00
parent fd9adca1a9
commit 58360c5db1
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0
2 changed files with 3 additions and 2 deletions

View file

@ -223,7 +223,7 @@
{:pre [(color/hex? color)]}
(ToggleColorSelection. color))
;; --- Copy Selected Icon
;; --- Copy Selected Color
(defrecord CopySelected [id]
ptk/UpdateEvent
@ -240,7 +240,7 @@
{:pre [(or (uuid? id) (nil? id))]}
(CopySelected. id))
;; --- Move Selected Icon
;; --- Move Selected Color
(defrecord MoveSelected [from to]
ptk/UpdateEvent

View file

@ -234,6 +234,7 @@
(prepare [[content metadata]]
{:collection id
:content content
;; TODO Keep the name of the original icon
:name (str "Icon " (gensym "i"))
:metadata metadata})]
(->> (rx/from-coll (jscoll->vec files))