mirror of
https://github.com/penpot/penpot.git
synced 2025-03-24 13:41:39 -05:00
🐛 Fix viewer
This commit is contained in:
parent
0ce838fbb6
commit
5ea9a52e69
1 changed files with 7 additions and 7 deletions
|
@ -468,13 +468,13 @@
|
|||
(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))
|
||||
|
||||
opts #js {:shape shape
|
||||
:objects objects
|
||||
:all-objects all-objects}]
|
||||
(let [shape (if frame
|
||||
(gsh/translate-to-frame shape frame)
|
||||
shape)
|
||||
|
||||
opts #js {:shape shape
|
||||
:objects objects
|
||||
:all-objects all-objects}]
|
||||
(case (:type shape)
|
||||
:frame [:> frame-container opts]
|
||||
:text [:> text-wrapper opts]
|
||||
|
|
Loading…
Add table
Reference in a new issue