mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-24 14:15:48 +00:00
fix: reload titlebar icon when changing icons
Reload the title bar icon when a new icon is selected in the new "new Ryubing UI" mode.
This commit is contained in:
@@ -24,6 +24,12 @@ namespace Ryujinx.Ava.UI.Controls
|
|||||||
Source = CurrentLogoBitmap.Value;
|
Source = CurrentLogoBitmap.Value;
|
||||||
IsVisible = !ConfigurationState.Instance.ShowOldUI;
|
IsVisible = !ConfigurationState.Instance.ShowOldUI;
|
||||||
ConfigurationState.Instance.UI.SelectedWindowIcon.Event += WindowIconChanged_Event;
|
ConfigurationState.Instance.UI.SelectedWindowIcon.Event += WindowIconChanged_Event;
|
||||||
|
CurrentLogoBitmap.Event += CurrentLogoBitmapChanged_Event;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void CurrentLogoBitmapChanged_Event(object _, ReactiveEventArgs<Bitmap> e)
|
||||||
|
{
|
||||||
|
Source = e.NewValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void RefreshAppIconFromSettings()
|
public static void RefreshAppIconFromSettings()
|
||||||
|
|||||||
Reference in New Issue
Block a user