🐛 Fix copy paste inside a text layer leaves pasted text transparent

This commit is contained in:
Alejandro Alonso 2022-03-25 08:21:30 +01:00 committed by Alonso Torres
parent 0355e1bfc7
commit 655afa088d
2 changed files with 3 additions and 1 deletions

View file

@ -15,7 +15,8 @@
(defn immutable-map->map
[obj]
(into {} (map (fn [[k v]] [(keyword k) v])) (seq obj)))
(let [data (into {} (map (fn [[k v]] [(keyword k) v])) (seq obj))]
(assoc data :fills (js->clj (:fills data) :keywordize-keys true))))
;; --- DRAFT-JS HELPERS