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 01:20:54 +00:00
committed by GitHub
parent bf486b4cb5
commit 5b1e1cb2fb
5 changed files with 26 additions and 38 deletions
+2
View File
@@ -71,6 +71,8 @@ fn fs_main(in: VertexOutput) -> @location(0) vec4<f32> {
if (viewport_srgb.a < 0.001) {
viewport_srgb = constants.background_color;
} else if (viewport_srgb.a < 0.999) {
viewport_srgb = blend(viewport_srgb, constants.background_color);
}
if (overlay_srgb.a < 0.001) {