mirror of
https://github.com/penpot/penpot.git
synced 2025-07-15 12:35:15 +02:00
🎉 Hidden layer support for wasm render
This commit is contained in:
parent
7c7ede9d0c
commit
07215357d6
5 changed files with 20 additions and 3 deletions
|
@ -389,7 +389,7 @@ impl RenderState {
|
|||
let mut is_complete = self.viewbox.area.contains(shape.selrect);
|
||||
|
||||
if !id.is_nil() {
|
||||
if !shape.selrect.intersects(self.viewbox.area) {
|
||||
if !shape.selrect.intersects(self.viewbox.area) || shape.hidden {
|
||||
self.render_debug_shape(shape, false);
|
||||
// TODO: This means that not all the shapes are renderer so we
|
||||
// need to call a render_all on the zoom out.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue