overlay and calibration
This commit is contained in:
parent
3062993f7c
commit
3456e0d62a
24 changed files with 1193 additions and 439 deletions
|
|
@ -68,12 +68,12 @@ public partial class App : Application
|
|||
desktop.MainWindow = window;
|
||||
desktop.ShutdownMode = Avalonia.Controls.ShutdownMode.OnMainWindowClose;
|
||||
|
||||
var overlay = new OverlayWindow(bot);
|
||||
overlay.Show();
|
||||
var overlay = new D2dOverlay(bot);
|
||||
overlay.Start();
|
||||
|
||||
desktop.ShutdownRequested += async (_, _) =>
|
||||
{
|
||||
overlay.Close();
|
||||
overlay.Shutdown();
|
||||
mainVm.Shutdown();
|
||||
await bot.DisposeAsync();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue