mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-23 19:49:43 +01:00
adding fixed height for caculating windows top
This commit is contained in:
@@ -299,7 +299,7 @@ namespace Wox
|
||||
}
|
||||
else
|
||||
{
|
||||
UserSettingStorage.Instance.WindowTop = (screen.WorkingArea.Height - ActualHeight) / 4 + screen.WorkingArea.Top;
|
||||
UserSettingStorage.Instance.WindowTop = (screen.WorkingArea.Height - tbQuery.ActualHeight) / 4 + screen.WorkingArea.Top;
|
||||
}
|
||||
return UserSettingStorage.Instance.WindowTop;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user