Fix null sizes in TaskbarPlayer

This commit is contained in:
Yoshi Askharoun
2026-07-27 01:28:59 -05:00
parent f6192ae3da
commit 2110a770cd
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -13,6 +13,8 @@ desktop software. The dependency chain is:
ZuneDBApi (this project) → ZuneImpl → ZuneShell.dll → ZuneHost / ZuneHost.Wpf (entry points)
```
The original DLL is currently located at `../../windows/shared/zune-x64/Zune/ZuneDBApi.dll`.
Note that Iris UI files (both `.uix` and `.uib`) can load arbitrary assemblies.
This meaans that `ZuneShell.dll` has a direct dependency on `ZuneDBApi`, even
though according to the C# project system, `ZuneDBApi` is only a transitive
@@ -32,9 +32,9 @@ public class TaskbarPlayer : ModelItem, IDisposable
}
}
public Size PopupSize { get; private set; }
public Size PopupSize { get; private set; } = new(200, 400);
public Point PopupPosition { get; private set; }
public Point PopupPosition { get; private set; } = new(0, 0);
private bool m_fPopupVisible;