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:
parent
2b2d7bc406
commit
27534702fb
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue