mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-18 06:29:44 +08:00
Make sure FancyZones Editor window is on top of PowerToys settings window (#911)
This commit is contained in:
parent
22e13e8c40
commit
31c4ab8ac0
@ -95,7 +95,12 @@ namespace FancyZonesEditor
|
||||
MainWindow window = new MainWindow();
|
||||
window.Owner = this;
|
||||
window.ShowActivated = true;
|
||||
window.Topmost = true;
|
||||
window.Show();
|
||||
|
||||
// window is set to topmost to make sure it shows on top of PowerToys settings page
|
||||
// we can reset topmost flag now
|
||||
window.Topmost = false;
|
||||
}
|
||||
|
||||
// These event handlers are used to track the current state of the Shift and Ctrl keys on the keyboard
|
||||
|
Loading…
Reference in New Issue
Block a user