0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 08:20:45 -05:00

Formated locales.json.

This commit is contained in:
alonso.torres 2020-10-26 17:24:09 +01:00 committed by Hirunatan
parent 27322bcad6
commit f1ee1b55b7
3 changed files with 474 additions and 176 deletions

File diff suppressed because it is too large Load diff

View file

@ -74,12 +74,8 @@
(logjs "state" @state))
(defn ^:export dump-objects []
(let [page-id (get @state :current-page-id)
objects (get-in @state [:workspace-data :pages-index page-id :objects])]
(logjs "index" (->> (cph/indexed-shapes objects)
(d/mapm (fn [k id] (get objects id)))
(map (fn [[idx obj]] (str idx " - " (:name obj))))))
(logjs "state" objects)))
(let [page-id (get @state :current-page-id)]
(logjs "state" (get-in @state [:workspace-data :pages-index page-id :objects]))))
(defn ^:export dump-object [name]
(let [page-id (get @state :current-page-id)]

View file

@ -17,7 +17,6 @@
(def align-middle (icon-xref :align-middle))
(def align-top (icon-xref :align-top))
(def alignment (icon-xref :alignment))
#_(def arrow (icon-xref :arrow))
(def arrow-down (icon-xref :arrow-down))
(def arrow-end (icon-xref :arrow-end))
(def arrow-slide (icon-xref :arrow-slide))
@ -91,7 +90,6 @@
(def rotate (icon-xref :rotate))
(def ruler (icon-xref :ruler))
(def ruler-tool (icon-xref :ruler-tool))
#_(def save (icon-xref :save))
(def search (icon-xref :search))
(def shape-halign-center (icon-xref :shape-halign-center))
(def shape-halign-left (icon-xref :shape-halign-left))