mirror of
https://github.com/penpot/penpot.git
synced 2026-02-12 14:42:56 +00:00
🐛 Fix compatibility issue with penpot 2.7
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user