mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
✨ Mark new or updated files with new features
for avoid crossversion modifications
This commit is contained in:
parent
dfc2ab56a9
commit
dae5e71fa1
1 changed files with 4 additions and 1 deletions
|
@ -46,11 +46,14 @@
|
||||||
(def supported-features
|
(def supported-features
|
||||||
#{"storage/objects-map"
|
#{"storage/objects-map"
|
||||||
"storage/pointer-map"
|
"storage/pointer-map"
|
||||||
|
"internal/shape-record"
|
||||||
|
"internal/geom-record"
|
||||||
"components/v2"})
|
"components/v2"})
|
||||||
|
|
||||||
(defn get-default-features
|
(defn get-default-features
|
||||||
[]
|
[]
|
||||||
(cond-> #{}
|
(cond-> #{"internal/shape-record"
|
||||||
|
"internal/geom-record"}
|
||||||
(contains? cf/flags :fdata-storage-pointer-map)
|
(contains? cf/flags :fdata-storage-pointer-map)
|
||||||
(conj "storage/pointer-map")
|
(conj "storage/pointer-map")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue