🐛 Fix several questions about frame background export

This commit is contained in:
Andrés Moya 2022-01-18 16:13:26 +01:00 committed by Andrey Antukh
parent f754c12e8c
commit 36bb5cbe01
9 changed files with 50 additions and 16 deletions

View file

@ -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)))