🐛 Fix problem with namespace

This commit is contained in:
alonso.torres 2021-06-04 15:52:18 +02:00
parent 5b0cd974ac
commit a97c7cada4

View file

@ -26,7 +26,7 @@
(let [ns-attr (str "penpot:" (-> attr d/name))]
(-> props
(obj/set! ns-attr val))))
frame? (= :frame type)]
frame? (= :frame (:type shape))]
(-> props
(add! :name (-> shape :name))
(add! :blocked (-> shape (:blocked false) str))