Merge pull request #6125 from penpot/alotor-perf-flex-layout-2

 Improvements on flex layout positioning
This commit is contained in:
Aitor Moreno 2025-03-24 09:53:30 +01:00 committed by GitHub
commit 22efd6574d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 175 additions and 72 deletions

View file

@ -640,8 +640,8 @@
margin-bottom (or (dm/get-prop margins :m3) 0)
margin-left (or (dm/get-prop margins :m4) 0)
h-sizing (-> (dm/get-prop shape :layout-item-h-sizing) (or :auto) translate-layout-sizing)
v-sizing (-> (dm/get-prop shape :layout-item-v-sizing) (or :auto) translate-layout-sizing)
h-sizing (-> (dm/get-prop shape :layout-item-h-sizing) (or :fix) translate-layout-sizing)
v-sizing (-> (dm/get-prop shape :layout-item-v-sizing) (or :fix) translate-layout-sizing)
align-self (-> (dm/get-prop shape :layout-item-align-self) translate-align-self)
max-h (dm/get-prop shape :layout-item-max-h)