mirror of
https://github.com/penpot/penpot.git
synced 2026-05-02 22:58:35 +00:00
✨ Only take fills for non-groups
This commit is contained in:
parent
99bb3ee962
commit
4c83899d69
@ -253,7 +253,8 @@
|
||||
selrect (dm/get-prop shape :selrect)
|
||||
rotation (dm/get-prop shape :rotation)
|
||||
transform (dm/get-prop shape :transform)
|
||||
fills (dm/get-prop shape :fills)
|
||||
fills (if (= type :group)
|
||||
[] (dm/get-prop shape :fills))
|
||||
children (dm/get-prop shape :shapes)
|
||||
blend-mode (dm/get-prop shape :blend-mode)
|
||||
opacity (dm/get-prop shape :opacity)
|
||||
|
||||
@ -8,9 +8,7 @@
|
||||
(:require
|
||||
[app.common.transit :as t]
|
||||
[app.common.types.shape :as shape]
|
||||
;; [app.common.svg.path :as path]
|
||||
[app.render-wasm.api :as api]
|
||||
[app.render-wasm.path :as path]
|
||||
[clojure.core :as c]
|
||||
[cuerdas.core :as str]))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user