Editor should come up on the monitor with the foreground window. Defaults to primary monitor if there is no foreground window.

This commit is contained in:
Bret Anderson
2019-09-08 01:47:12 -07:00
parent 5f5402aa0a
commit e562b29ecd
7 changed files with 206 additions and 185 deletions

View File

@@ -20,7 +20,6 @@ namespace FancyZonesEditor
private ushort _idInitial = 0;
public App()
{
//init settings
_settings = new Settings();
}
@@ -64,8 +63,7 @@ namespace FancyZonesEditor
}
foundModel.IsSelected = true;
// TODO: multimon
// Pass in the correct args to show on the desired monitor
EditorOverlay overlay = new EditorOverlay();
overlay.Show();
overlay.DataContext = foundModel;