added saving app placement

This commit is contained in:
2026-08-09 01:55:45 +05:00
parent 0b121827ed
commit ef13f4c7ef
4 changed files with 220 additions and 1 deletions
+2 -1
View File
@@ -9,10 +9,11 @@ namespace CursorLang.Views;
/// </summary>
public partial class MainWindow : Window
{
public MainWindow(SettingsViewModel viewModel, IThemeService theme)
public MainWindow(SettingsViewModel viewModel, IThemeService theme, MainWindowPlacement placement)
{
InitializeComponent();
DataContext = viewModel;
theme.Register(this);
placement.Attach(this);
}
}