fix(positioner): Prevent tray relative windows from being moved off-screen (#291)

* feat: add system tray positioning method

* apply patch

* remove pos

* fix linter

* fix cargo fmt

* linter

* add changefile

* Update and rename stronghold-tray-position.md to tray-position.md

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
This commit is contained in:
Xinyu Yang
2023-09-27 21:55:44 +08:00
committed by GitHub
parent 6c7a4c0984
commit 3d279094d4
2 changed files with 41 additions and 13 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"positioner": patch
---
`TrayLeft`, `TrayRight` and `TrayCenter` will now position the window according to the tray position relative to the monitor dimensions to prevent windows being displayed partially off-screen.