Add OpenChangelogWindow function
This commit is contained in:
parent
2f29559faf
commit
4b7b3dc4c7
2 changed files with 7 additions and 2 deletions
|
@ -87,8 +87,7 @@
|
|||
Padding="5"
|
||||
HorizontalAlignment="Center"
|
||||
Background="Transparent"
|
||||
Click="Button_OnClick"
|
||||
Tag="https://github.com/Ryujinx/Ryujinx/wiki/Changelog#ryujinx-changelog">
|
||||
Click="OpenChangelogWindow">
|
||||
<TextBlock
|
||||
FontSize="10"
|
||||
Text="{locale:Locale AboutChangelogButton}"
|
||||
|
|
|
@ -52,6 +52,12 @@ namespace Ryujinx.Ava.UI.Windows
|
|||
}
|
||||
}
|
||||
|
||||
private void OpenChangelogWindow(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ChangelogWindow changelogWindow = new ChangelogWindow();
|
||||
changelogWindow.Show();
|
||||
}
|
||||
|
||||
private void AmiiboLabel_OnPointerPressed(object sender, PointerPressedEventArgs e)
|
||||
{
|
||||
if (sender is TextBlock)
|
||||
|
|
Loading…
Reference in a new issue