overlay and calibration

This commit is contained in:
Boki 2026-02-19 20:00:23 -05:00
parent 3062993f7c
commit 3456e0d62a
24 changed files with 1193 additions and 439 deletions

View file

@ -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();
};