0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-03 04:49:03 -05:00

🐛 Fix problems with transparent frames thumbnails

This commit is contained in:
alonso.torres 2022-12-27 17:40:13 +01:00 committed by Alejandro Alonso
parent 00fbfd6e9e
commit cd2df41e87

View file

@ -146,5 +146,5 @@
[:g.frame-thumbnail-wrapper
{:id (dm/str "thumbnail-container-" (:id shape))
;; Hide the thumbnail when not displaying
:opacity (when (and @rendered? (not thumbnail?) (not render-frame?)) 0)}
:opacity (when-not thumbnail? 0)}
thumbnail-renderer]]])))))