mirror of
https://github.com/penpot/penpot.git
synced 2025-07-17 16:37:58 +02:00
🐛 Fix problem in viewer with hidden elements
This commit is contained in:
parent
844634e8c8
commit
02044a8153
3 changed files with 22 additions and 19 deletions
|
@ -91,7 +91,7 @@
|
|||
[{:keys [shape]}]
|
||||
[:*
|
||||
(when ^boolean (dbg/enabled? :bounding-boxes)
|
||||
[:& debug-bounding-boxes])
|
||||
[:& debug-bounding-boxes {:shape shape}])
|
||||
|
||||
(when (and ^boolean (cfh/text-shape? shape)
|
||||
^boolean (dbg/enabled? :text-outline)
|
||||
|
|
|
@ -44,7 +44,9 @@
|
|||
childs (mf/deref childs-ref)]
|
||||
|
||||
[:& shape-container {:shape shape :ref ref :disable-shadows? (cfh/is-direct-child-of-root? shape)}
|
||||
[:& frame-shape {:shape shape :childs childs}]]))))
|
||||
[:& frame-shape {:shape shape :childs childs}]
|
||||
(when *assert*
|
||||
[:& wsd/shape-debug {:shape shape}])]))))
|
||||
|
||||
(defn check-props
|
||||
[new-props old-props]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue