0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-09 00:28:20 -05:00

Minor fix on colorpalette.

This commit is contained in:
Andrey Antukh 2017-01-11 18:19:43 +01:00
parent 137af0e14d
commit 32ec7a0634
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -77,11 +77,11 @@
(st/emit! (dw/toggle-flag :colorpalette)))] (st/emit! (dw/toggle-flag :colorpalette)))]
[:div.color-palette [:div.color-palette
[:div.color-palette-actions [:div.color-palette-actions
[:select.input-select {:on-change select-collection} [:select.input-select {:on-change select-collection
:value (pr-str selected-coll)}
(for [collection collections] (for [collection collections]
[:option {:key (str (:id collection)) [:option {:key (str (:id collection))
:value (pr-str (:id collection)) :value (pr-str (:id collection))}
:selected (when (= collection selected-coll) "selected")}
(:name collection)])] (:name collection)])]
#_[:div.color-palette-buttons #_[:div.color-palette-buttons
[:div.btn-palette.edit.current i/pencil] [:div.btn-palette.edit.current i/pencil]