From 58360c5db1dc15306beffc58865ea49eb17cebeb Mon Sep 17 00:00:00 2001 From: "mathieu.brunot" Date: Sun, 24 Feb 2019 00:35:21 +0100 Subject: [PATCH] :pencil2: Fixing typo and dding note --- frontend/src/uxbox/main/data/colors.cljs | 4 ++-- frontend/src/uxbox/main/data/icons.cljs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/uxbox/main/data/colors.cljs b/frontend/src/uxbox/main/data/colors.cljs index 536e8323c8..e4f18d0bd1 100644 --- a/frontend/src/uxbox/main/data/colors.cljs +++ b/frontend/src/uxbox/main/data/colors.cljs @@ -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 diff --git a/frontend/src/uxbox/main/data/icons.cljs b/frontend/src/uxbox/main/data/icons.cljs index 7f01161e7f..f1d5fb62f6 100644 --- a/frontend/src/uxbox/main/data/icons.cljs +++ b/frontend/src/uxbox/main/data/icons.cljs @@ -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))