Skip to content

Commit

Permalink
Set picture after load
Browse files Browse the repository at this point in the history
  • Loading branch information
wieslawsoltes committed Apr 8, 2024
1 parent 0bb1a1e commit 2b7dddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Avalonia.Svg.Skia/SvgSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 2b7dddd

Please sign in to comment.