mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-18 08:29:55 +01:00
* Fix: #3270 removes an unnessecary check which returned a double nil wich in turned causes a crash if systray doesn't have an attached window. * Add iconIsInFlyout method to systray_windows and use it to determine if the icon is in the flyout or not when positioning an attached window. * optimize the windows systray window positioning we only need to get the systray bounds if the icon is in the flyout area. * Use correct behavior for placing the window if the systray icon is visible in the taskbar the window should be centered on the systray icon otherwise the icon is in a flyout are and the window should be placed in the corner. Added comments to explain placement logic * consistent placing of systray menu on right vs left click * add PR info in changelog --------- Co-authored-by: Lea Anthony <lea.anthony@gmail.com> |
||
|---|---|---|
| .. | ||
| application | ||
| events | ||
| icons | ||
| mac | ||
| w32 | ||