mirror of
https://github.com/penpot/penpot.git
synced 2025-06-01 01:51:38 +02:00
✨ Ability to add multiple fills to a shape
This commit is contained in:
parent
aecb8a1464
commit
23a9c74297
25 changed files with 475 additions and 243 deletions
|
@ -70,7 +70,7 @@
|
|||
|
||||
object (cond-> object
|
||||
(:hide-fill-on-export object)
|
||||
(assoc :fill-color nil :fill-opacity 0))
|
||||
(assoc :fills []))
|
||||
|
||||
{:keys [x y width height] :as bs} (calc-bounds object objects)
|
||||
[_ _ width height :as coords] (->> [x y width height] (map #(* % zoom)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue