diff --git a/crates/mobile/src/lib.rs b/crates/mobile/src/lib.rs index 344f4195d1d832d81f63a6008f01e6c45b808d2a..ff21f881ae8eb2aa11b183d9c21b8b6452e5fb1f 100644 --- a/crates/mobile/src/lib.rs +++ b/crates/mobile/src/lib.rs @@ -887,7 +887,10 @@ impl View { &target, [presentation.config.width, presentation.config.height], paper.color, - &[canvas.page.viewport.layer(&primitives)], + &[draw::Layer { + backdrop: Some(paper.color), + ..canvas.page.viewport.layer(&primitives) + }], ) .map_err(|error| format!("Page drawing failed: {error:?}"))?; renderer.queue().present(frame);