mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
Fix position
1. Fix "Remember launch location", this was introduced since e7aa6022. Fix #511 2. Fix opening position ( #510 ), bug introduced from PR #494 (commit e7aa602)
This commit is contained in:
@@ -187,14 +187,11 @@ namespace Wox
|
||||
|
||||
private void HideWox()
|
||||
{
|
||||
UserSettingStorage.Instance.WindowLeft = MainVM.Left;
|
||||
UserSettingStorage.Instance.WindowTop = MainVM.Top;
|
||||
MainVM.MainWindowVisibility = Visibility.Collapsed;
|
||||
}
|
||||
|
||||
private void ShowWox(bool selectAll = true)
|
||||
{
|
||||
UserSettingStorage.Instance.IncreaseActivateTimes();
|
||||
MainVM.MainWindowVisibility = Visibility.Visible;
|
||||
MainVM.OnTextBoxSelected();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user