From 2adf0318300a0f444c8051aceba1e4759fbedc6f Mon Sep 17 00:00:00 2001 From: Ac_K Date: Mon, 29 Jan 2024 23:22:42 +0100 Subject: [PATCH] deps: Update Avalonia.Svg (#6218) Updates `Avalonia.Svg` from 11.0.0.10 to 11.0.0.13 Updates `Avalonia.Svg.Skia` from 11.0.0.10 to 11.0.0.13 And reflect update changes as dependabot can't do it. Superseed #6209 --- Directory.Packages.props | 4 ++-- src/Ryujinx.Ava/UI/Applet/ControllerAppletDialog.axaml.cs | 3 ++- src/Ryujinx.Ava/UI/ViewModels/ControllerInputViewModel.cs | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index f2c080d86..2f272459c 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -8,8 +8,8 @@ - - + + diff --git a/src/Ryujinx.Ava/UI/Applet/ControllerAppletDialog.axaml.cs b/src/Ryujinx.Ava/UI/Applet/ControllerAppletDialog.axaml.cs index 34de5223b..f7d751a66 100644 --- a/src/Ryujinx.Ava/UI/Applet/ControllerAppletDialog.axaml.cs +++ b/src/Ryujinx.Ava/UI/Applet/ControllerAppletDialog.axaml.cs @@ -9,6 +9,7 @@ using Ryujinx.Ava.UI.Windows; using Ryujinx.Common; using Ryujinx.HLE.HOS.Applets; using Ryujinx.HLE.HOS.Services.Hid; +using System; using System.Linq; using System.Threading.Tasks; @@ -103,7 +104,7 @@ namespace Ryujinx.Ava.UI.Applet if (!string.IsNullOrWhiteSpace(path)) { - SvgSource source = new(); + SvgSource source = new(default(Uri)); source.Load(EmbeddedResources.GetStream(path)); diff --git a/src/Ryujinx.Ava/UI/ViewModels/ControllerInputViewModel.cs b/src/Ryujinx.Ava/UI/ViewModels/ControllerInputViewModel.cs index c0c625321..042803f36 100644 --- a/src/Ryujinx.Ava/UI/ViewModels/ControllerInputViewModel.cs +++ b/src/Ryujinx.Ava/UI/ViewModels/ControllerInputViewModel.cs @@ -180,7 +180,7 @@ namespace Ryujinx.Ava.UI.ViewModels if (!string.IsNullOrWhiteSpace(_controllerImage)) { - SvgSource source = new(); + SvgSource source = new(default(Uri)); source.Load(EmbeddedResources.GetStream(_controllerImage));