0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -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)]} {:pre [(color/hex? color)]}
(ToggleColorSelection. color)) (ToggleColorSelection. color))
;; --- Copy Selected Icon ;; --- Copy Selected Color
(defrecord CopySelected [id] (defrecord CopySelected [id]
ptk/UpdateEvent ptk/UpdateEvent
@ -240,7 +240,7 @@
{:pre [(or (uuid? id) (nil? id))]} {:pre [(or (uuid? id) (nil? id))]}
(CopySelected. id)) (CopySelected. id))
;; --- Move Selected Icon ;; --- Move Selected Color
(defrecord MoveSelected [from to] (defrecord MoveSelected [from to]
ptk/UpdateEvent ptk/UpdateEvent

View file

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