0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-15 11:38:24 -05:00

🐛 Fix color palette exception.

This commit is contained in:
Andrey Antukh 2020-06-23 15:18:26 +02:00
parent 6b49479ef7
commit c0cbb5877b

View file

@ -633,7 +633,7 @@
(watch [_ state stream] (watch [_ state stream]
(let [selected (get-in state [:workspace-local :selected]) (let [selected (get-in state [:workspace-local :selected])
page-id (get-in state [:workspace-page :id])] page-id (get-in state [:workspace-page :id])]
(->> (rx/from selected) (->> (rx/from (seq selected))
(rx/map (fn [id] (rx/map (fn [id]
(update-shape-recursive id attrs)))))))) (update-shape-recursive id attrs))))))))