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"
|
Padding="5"
|
||||||
HorizontalAlignment="Center"
|
HorizontalAlignment="Center"
|
||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
Click="Button_OnClick"
|
Click="OpenChangelogWindow">
|
||||||
Tag="https://github.com/Ryujinx/Ryujinx/wiki/Changelog#ryujinx-changelog">
|
|
||||||
<TextBlock
|
<TextBlock
|
||||||
FontSize="10"
|
FontSize="10"
|
||||||
Text="{locale:Locale AboutChangelogButton}"
|
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)
|
private void AmiiboLabel_OnPointerPressed(object sender, PointerPressedEventArgs e)
|
||||||
{
|
{
|
||||||
if (sender is TextBlock)
|
if (sender is TextBlock)
|
||||||
|
|
Loading…
Reference in a new issue