🐛 Fixed some problems with booleans and paths

This commit is contained in:
alonso.torres 2021-09-28 13:09:19 +02:00
parent ff8db0cd77
commit a189dc8243
4 changed files with 18 additions and 5 deletions

View file

@ -90,7 +90,7 @@
(mf/use-memo
(mf/deps shape childs)
(fn []
(let [childs (d/mapm #(-> %2 (gsh/translate-to-frame frame) gsh/transform-shape) childs)]
(let [childs (d/mapm #(-> %2 gsh/transform-shape (gsh/translate-to-frame frame)) childs)]
(->> (:shapes shape)
(map #(get childs %))
(filter #(not (:hidden %)))