mirror of
https://github.com/penpot/penpot.git
synced 2026-05-02 22:58:35 +00:00
🐛 Fix viewer inspect code
This commit is contained in:
parent
2b2d7bc406
commit
27534702fb
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user