mirror of
https://github.com/penpot/penpot.git
synced 2025-06-02 14:51:37 +02:00
🐛 Fix several questions about frame background export
This commit is contained in:
parent
f754c12e8c
commit
36bb5cbe01
9 changed files with 50 additions and 16 deletions
|
@ -69,8 +69,8 @@
|
|||
object (get objects object-id)
|
||||
|
||||
object (cond-> object
|
||||
(not (:show-fill-on-export? object))
|
||||
(assoc :fill-color nil :fill-opacity 0))
|
||||
(:hide-fill-on-export object)
|
||||
(assoc :fill-color nil :fill-opacity 0))
|
||||
|
||||
{: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