mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-28 21:37:19 -08:00
25 lines
540 B
C#
25 lines
540 B
C#
|
using Avalonia.Controls;
|
||
|
using Avalonia.Input;
|
||
|
|
||
|
namespace SourceGit.Views
|
||
|
{
|
||
|
public partial class ConfigureWorkspace : ChromelessWindow
|
||
|
{
|
||
|
public ConfigureWorkspace()
|
||
|
{
|
||
|
InitializeComponent();
|
||
|
}
|
||
|
|
||
|
protected override void OnClosing(WindowClosingEventArgs e)
|
||
|
{
|
||
|
ViewModels.Preference.Instance.Save();
|
||
|
base.OnClosing(e);
|
||
|
}
|
||
|
|
||
|
private void BeginMoveWindow(object _, PointerPressedEventArgs e)
|
||
|
{
|
||
|
BeginMoveDrag(e);
|
||
|
}
|
||
|
}
|
||
|
}
|