feat(positioner): add moveWindowConstrained for tray-icon positions (#2076)

This commit is contained in:
Jakob Westhoff
2024-11-20 01:05:37 +01:00
committed by GitHub
parent 383e636a8e
commit 4db626354c
11 changed files with 352 additions and 163 deletions
@@ -0,0 +1,6 @@
---
"positioner-js": minor
---
Add `moveWindowConstrained` function that is similar to `moveWindow` but constrains the window to the screen dimensions in case of tray icon positions.
@@ -0,0 +1,6 @@
---
"positioner": minor
---
Add `WindowExt::move_window_constrained` method that is similar to `WindowExt::move_window` but constrains the window to the screen dimensions in case of tray icon positions.