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:
parent
fd9adca1a9
commit
58360c5db1
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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))
|
||||||
|
|
Loading…
Add table
Reference in a new issue