mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 19:49:15 +08:00
adding fixed height for caculating windows top
This commit is contained in:
parent
d93c705737
commit
48e01d3ea3
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user