mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 09:28:26 +02:00
🐛 Make no-clip default for new frames from shapes
This commit is contained in:
parent
ff22208ec2
commit
7dec194b1f
1 changed files with 2 additions and 1 deletions
|
@ -122,8 +122,9 @@
|
||||||
(some? layout-props)
|
(some? layout-props)
|
||||||
(d/patch-object 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?)
|
(or (not= frame-id uuid/zero) without-fill?)
|
||||||
(assoc :fills [] :hide-in-viewer true)))
|
(assoc :fills [] :hide-in-viewer true :show-content true)))
|
||||||
|
|
||||||
shape
|
shape
|
||||||
(with-meta shape {:index new-index})
|
(with-meta shape {:index new-index})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue