🐛 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

@ -42,6 +42,7 @@
### :bug: Bugs fixed ### :bug: Bugs fixed
- Copy paste inside a text layer leaves pasted text transparent [Taiga #3096](https://tree.taiga.io/project/penpot/issue/3096)
- On dashboard enter on empty search refresh the page [Taiga #2597](https://tree.taiga.io/project/penpot/issue/2597) - On dashboard enter on empty search refresh the page [Taiga #2597](https://tree.taiga.io/project/penpot/issue/2597)
- Pencil cursor changes when activated [Taiga #2276](https://tree.taiga.io/project/penpot/issue/2276) - Pencil cursor changes when activated [Taiga #2276](https://tree.taiga.io/project/penpot/issue/2276)
- Fix icon placement in Mixed message [Taiga #3037](https://tree.taiga.io/project/penpot/issue/3037) - Fix icon placement in Mixed message [Taiga #3037](https://tree.taiga.io/project/penpot/issue/3037)

View file

@ -15,7 +15,8 @@
(defn immutable-map->map (defn immutable-map->map
[obj] [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 ;; --- DRAFT-JS HELPERS