From 7dec194b1f5d668aa6d5b9d9ff4f586f13d35de7 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Tue, 5 Mar 2024 10:48:14 +0100 Subject: [PATCH] :bug: Make no-clip default for new frames from shapes --- common/src/app/common/files/shapes_helpers.cljc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/src/app/common/files/shapes_helpers.cljc b/common/src/app/common/files/shapes_helpers.cljc index f9f814186..e07e0631a 100644 --- a/common/src/app/common/files/shapes_helpers.cljc +++ b/common/src/app/common/files/shapes_helpers.cljc @@ -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})