feat(ui): open Mission Control from the title bar
This commit is contained in:
@@ -42,6 +42,12 @@ public partial class MainWindow : Window
|
||||
if (DataContext is IslandsShellViewModel vm)
|
||||
{
|
||||
vm.Dialogs = new WindowDialogService(this);
|
||||
vm.BringToFront = () =>
|
||||
{
|
||||
if (WindowState == WindowState.Minimized)
|
||||
WindowState = WindowState.Normal;
|
||||
Activate();
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user