mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-28 06:46:24 +02:00
Bump Avalonia.Svg (#6603)
* Bump Avalonia.Svg * Remove using * Bump Version * Remove other reload
This commit is contained in:
parent
cd78adf07f
commit
47639e6eeb
3 changed files with 4 additions and 9 deletions
|
@ -181,9 +181,7 @@ namespace Ryujinx.Ava.UI.ViewModels.Input
|
|||
|
||||
if (!string.IsNullOrWhiteSpace(_controllerImage))
|
||||
{
|
||||
SvgSource source = new(default(Uri));
|
||||
|
||||
source.Load(EmbeddedResources.GetStream(_controllerImage));
|
||||
SvgSource source = SvgSource.LoadFromStream(EmbeddedResources.GetStream(_controllerImage));
|
||||
|
||||
image.Source = source;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue