aboutsummaryrefslogtreecommitdiff
path: root/Erable/Views/MainWindow.axaml.cs
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2021-02-08 21:27:18 -0500
committerAndrew Lee <alee14498@protonmail.com>2021-02-08 21:27:18 -0500
commite81e3817c0a4b735da47e6c45529c6f88ed4d52f (patch)
treed787a2503a6d4d3c19f9a3c6bced71c61035842a /Erable/Views/MainWindow.axaml.cs
parentf5a7e3ef7e25aa2545f541e171f2d5f6fe43ecc7 (diff)
downloaderable-godot-e81e3817c0a4b735da47e6c45529c6f88ed4d52f.tar.gz
erable-godot-e81e3817c0a4b735da47e6c45529c6f88ed4d52f.tar.bz2
erable-godot-e81e3817c0a4b735da47e6c45529c6f88ed4d52f.zip
Moved playback to backend; Menu; Size now matches
Diffstat (limited to 'Erable/Views/MainWindow.axaml.cs')
-rw-r--r--Erable/Views/MainWindow.axaml.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/Erable/Views/MainWindow.axaml.cs b/Erable/Views/MainWindow.axaml.cs
index 814bc0f..78cde38 100644
--- a/Erable/Views/MainWindow.axaml.cs
+++ b/Erable/Views/MainWindow.axaml.cs
@@ -1,5 +1,7 @@
+using System;
using Avalonia;
using Avalonia.Controls;
+using Avalonia.Input;
using Avalonia.Markup.Xaml;
namespace Erable.Views
@@ -18,5 +20,10 @@ namespace Erable.Views
{
AvaloniaXamlLoader.Load(this);
}
+
+ private void InputElement_OnPointerPressed(object? sender, PointerPressedEventArgs e)
+ {
+ Environment.Exit(0);
+ }
}
} \ No newline at end of file