From 1450672341d9accc2d2eb503884d3ddf9c93308a Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sun, 1 Jun 2025 11:19:34 +0200 Subject: [PATCH] :sparkles: Remove obsolete props from bool style attrs --- common/src/app/common/types/path/bool.cljc | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/common/src/app/common/types/path/bool.cljc b/common/src/app/common/types/path/bool.cljc index 0ad015836c..9be2c5a792 100644 --- a/common/src/app/common/types/path/bool.cljc +++ b/common/src/app/common/types/path/bool.cljc @@ -19,27 +19,12 @@ [{:fill-color clr/black}]) (def group-style-properties - [:shadow :blur]) + #{:shadow :blur}) +;; FIXME: revisit (def style-properties (into group-style-properties - [:fill-color - :fill-opacity - :fill-color-gradient - :fill-color-ref-file - :fill-color-ref-id - :fill-image - :fills - :stroke-color - :stroke-color-ref-file - :stroke-color-ref-id - :stroke-opacity - :stroke-style - :stroke-width - :stroke-alignment - :stroke-cap-start - :stroke-cap-end - :strokes])) + [:fills :strokes])) (defn add-previous ([content]