0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-01 09:31:26 -05:00

🐛 Fix viewer inspect code

This commit is contained in:
Alejandro Alonso 2023-08-28 15:54:10 +02:00
parent 2b2d7bc406
commit 27534702fb

View file

@ -170,7 +170,9 @@
(mf/use-memo (mf/deps objects)
#(svg-raw-container-factory objects))]
(when (and shape (not (:hidden shape)))
(let [shape (gsh/translate-to-frame shape frame)
(let [shape (if frame
(gsh/translate-to-frame shape frame)
shape)
opts #js {:shape shape
:frame frame}]
(case (:type shape)