Merge pull request #5404 from penpot/eva-fix-border-radius

♻️ Remove Rx and RY from shapes
This commit is contained in:
Andrey Antukh 2024-12-10 12:36:58 +01:00 committed by GitHub
commit 6f67ecd1e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 364 additions and 458 deletions

View file

@ -884,8 +884,10 @@
:shapes (or (:shapes shape) [])
:hide-in-viewer (if frame? (boolean (:hide-in-viewer shape)) true)
:show-content (if frame? (boolean (:show-content shape)) true)
:rx (or (:rx shape) 0)
:ry (or (:ry shape) 0)))
:r1 (or (:r1 shape) 0)
:r2 (or (:r2 shape) 0)
:r3 (or (:r3 shape) 0)
:r4 (or (:r4 shape) 0)))
shape))]
(-> file-data
(update :pages-index update-vals fix-container)