From 47eadab82e197d6ad5c72d96c11a6679c0f1fb8a Mon Sep 17 00:00:00 2001 From: Elena Torro Date: Mon, 13 Apr 2026 13:21:53 +0200 Subject: [PATCH] :wrench: Include DropShadows surface to reset --- render-wasm/src/render/surfaces.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/render-wasm/src/render/surfaces.rs b/render-wasm/src/render/surfaces.rs index 308d354186..79ee064f37 100644 --- a/render-wasm/src/render/surfaces.rs +++ b/render-wasm/src/render/surfaces.rs @@ -506,6 +506,7 @@ impl Surfaces { self.canvas(SurfaceId::Fills).restore_to_count(1); self.canvas(SurfaceId::InnerShadows).restore_to_count(1); self.canvas(SurfaceId::TextDropShadows).restore_to_count(1); + self.canvas(SurfaceId::DropShadows).restore_to_count(1); self.canvas(SurfaceId::Strokes).restore_to_count(1); self.canvas(SurfaceId::Current).restore_to_count(1); self.canvas(SurfaceId::Export).restore_to_count(1); @@ -515,6 +516,7 @@ impl Surfaces { | SurfaceId::Current as u32 | SurfaceId::InnerShadows as u32 | SurfaceId::TextDropShadows as u32 + | SurfaceId::DropShadows as u32 | SurfaceId::Export as u32, |s| { s.canvas().clear(color).reset_matrix();