Fix artboards not exporting with transparency using Vello (#3921)

* Fix hide artboard for raster render mode

* Desktop: Fix transparent viewport blending

* Fix vello render using wrong color space conversion for background

* Review
This commit is contained in:
Timon
2026-03-23 02:20:54 +01:00
committed by GitHub
parent bf486b4cb5
commit 5b1e1cb2fb
5 changed files with 26 additions and 38 deletions

View File

@@ -129,7 +129,7 @@ impl WgpuExecutor {
if let Some(target_texture) = output.as_mut() {
target_texture.ensure_size(&self.context.device, size);
let [r, g, b, a] = background.unwrap_or(Color::TRANSPARENT).to_rgba8_srgb();
let [r, g, b, a] = background.unwrap_or(Color::TRANSPARENT).to_rgba8();
let render_params = RenderParams {
base_color: vello::peniko::Color::from_rgba8(r, g, b, a),
width: size.x,