mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 11:39:16 +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
|
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;
|
return UserSettingStorage.Instance.WindowTop;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user