sourcegit/src/Views/Hotkeys.axaml.cs
2024-07-14 15:55:15 +08:00

23 lines
458 B
C#

using Avalonia.Input;
using Avalonia.Interactivity;
namespace SourceGit.Views
{
public partial class Hotkeys : ChromelessWindow
{
public Hotkeys()
{
InitializeComponent();
}
private void BeginMoveWindow(object _, PointerPressedEventArgs e)
{
BeginMoveDrag(e);
}
private void CloseWindow(object _1, RoutedEventArgs _2)
{
Close();
}
}
}