🐛 Fix problem in viewer with hidden elements

This commit is contained in:
alonso.torres 2024-01-19 14:28:06 +01:00
parent 844634e8c8
commit 02044a8153
3 changed files with 22 additions and 19 deletions

View file

@ -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)

View file

@ -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]