0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-08 08:09:14 -05:00

🐛 Make no-clip default for new frames from shapes

This commit is contained in:
alonso.torres 2024-03-05 10:48:14 +01:00
parent ff22208ec2
commit 7dec194b1f

View file

@ -122,8 +122,9 @@
(some? layout-props)
(d/patch-object layout-props)
;; Frames from shapes will not be displayed in viewer and no clipped
(or (not= frame-id uuid/zero) without-fill?)
(assoc :fills [] :hide-in-viewer true)))
(assoc :fills [] :hide-in-viewer true :show-content true)))
shape
(with-meta shape {:index new-index})