🐛 Fix viewer

This commit is contained in:
Alejandro Alonso 2023-08-21 14:15:41 +02:00 committed by Andrey Antukh
parent 0ce838fbb6
commit 5ea9a52e69

View file

@ -468,9 +468,9 @@
(mf/with-memo [objects]
(svg-raw-container-factory objects all-objects))]
(when (and shape (not (:hidden shape)))
(let [shape (-> shape
#_(gsh/transform-shape)
(gsh/translate-to-frame frame))
(let [shape (if frame
(gsh/translate-to-frame shape frame)
shape)
opts #js {:shape shape
:objects objects