sourcegit/src/Views/Hotkeys.axaml.cs

23 lines
466 B
C#

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