5 references to IsEmpty
Aspire.Tray.Tests (5)
src\Aspire.Tray\Common\TrayPanelScene.cs (1)
212
public bool IsOffscreen => VisibleBounds.
IsEmpty
;
TrayPanelTests.cs (4)
78
Assert.True(bounds.Contains(target.HitBounds) || target.HitBounds.
IsEmpty
, $"{target.Key} at {target.HitBounds}");
79
Assert.True(target.HitBounds.
IsEmpty
|| target.Bounds.Contains(target.HitBounds));
86
target => Assert.True(target.HitBounds.
IsEmpty
|| panel.Viewport.Contains(target.HitBounds)));
494
Assert.True(first.HitBounds.
IsEmpty
);