From 2b7ddddf67008488d2f5bd681bf61eb8a983ea79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wies=C5=82aw=20S=CC=8Colte=CC=81s?= Date: Mon, 8 Apr 2024 19:00:25 +0200 Subject: [PATCH] Set picture after load --- src/Avalonia.Svg.Skia/SvgSource.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Svg.Skia/SvgSource.cs b/src/Avalonia.Svg.Skia/SvgSource.cs index f4964a42..35010e62 100644 --- a/src/Avalonia.Svg.Skia/SvgSource.cs +++ b/src/Avalonia.Svg.Skia/SvgSource.cs @@ -245,7 +245,7 @@ static SvgSource() public static SvgSource? LoadFromStream(Stream stream, SvgParameters? parameters = null) { var source = new SvgSource(default(Uri)); - Load(source, stream, parameters); + source._picture = Load(source, stream, parameters); return source; }