feat: native Windows UI — light theme, centered window, standard chrome

This commit is contained in:
SuperDooper
2026-05-08 13:34:32 +02:00
parent 01e16e3abe
commit 58a09e8701
-10
View File
@@ -78,21 +78,11 @@ public partial class App : Application
if (_popup == null)
{
_popup = new PopupWindow();
_popup.Closed += (_, _) => _popup = null;
}
PositionPopup();
_popup.Show();
_popup.Activate();
}
private void PositionPopup()
{
if (_popup == null) return;
var workArea = SystemParameters.WorkArea;
_popup.Left = workArea.Right - _popup.Width - 8;
_popup.Top = workArea.Bottom - _popup.Height - 8;
}
public void ScheduleTimer(int seconds)
{
_timer?.Stop();