mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
fix: Properly declare iconIsInTrayBounds variable in Windows systray
Fixes Windows compilation error where iconIsInTrayBounds was being assigned without declaration. Declares the variable explicitly before assignment to resolve 'undefined: iconIsInTrayBounds' error. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
edfa223e2f
commit
fbd39c24f4
1 changed files with 1 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ func (s *windowsSystemTray) positionWindow(window *WebviewWindow, offset int) er
|
|||
|
||||
// systray icons in windows can either be in the taskbar
|
||||
// or in a flyout menu.
|
||||
var iconIsInTrayBounds bool
|
||||
iconIsInTrayBounds, err = s.iconIsInTrayBounds()
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue