mirror of
https://github.com/penpot/penpot.git
synced 2025-08-01 20:48:26 +02:00
🐛 Fix compatibility issue with penpot 2.7
This commit is contained in:
parent
89a09346a5
commit
9fee16f4a9
3 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
- Fix incorrect boolean type assignation
|
||||
- Fix fill and stroke handling on boolean shape creation
|
||||
- Add sample-bool.js to the playground directory
|
||||
- Fix compatibility issue on file media with penpot 2.7.x
|
||||
|
||||
## 1.0.1
|
||||
|
||||
|
|
|
@ -41,6 +41,9 @@
|
|||
(def ^:private encode-component
|
||||
(sm/encoder types.component/schema:component sm/json-transformer))
|
||||
|
||||
(def encode-file-media
|
||||
(sm/encoder types.file/schema:media sm/json-transformer))
|
||||
|
||||
(def encode-color
|
||||
(sm/encoder types.color/schema:color sm/json-transformer))
|
||||
|
||||
|
@ -175,6 +178,7 @@
|
|||
[(str "files/" (:file-id file-media) "/media/" file-media-id ".json")
|
||||
(delay (-> file-media
|
||||
(dissoc :file-id)
|
||||
(encode-file-media)
|
||||
(json/encode)))]))))))
|
||||
|
||||
(defn- generate-manifest-procs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue